Free .rar opener

  • Thread starter Thread starter PuppyKatt
  • Start date Start date
That is, to prepare a list of of filenames for process, how to
get from here:

exe2cab -q axdist.exe
exe2cab -q mdac_typ.exe

To here:

exe2cab -q axdist.exe axdist.cab
exe2cab -q mdac_typ.exe mdac_typ.cab

Strikes me that this might require something along the lines of advanced
SED skills? Now, if only...I could cheat here...and someone could hand-feed
a nice script command to do that text processing ...

It's occurred to me that I could approach this GUI. I could have two
copies of the filenames. SR one from exe to cab. Then use either a CSV
editor like CSVed, else a regular editor that has columns support, and
merge the two lists. Then make the third step putting the exe2cab command
as the first column.

Just, mousing it around with all those steps, it'd not be nearly so kool
as to see a hip single-line text processing script...
 
omega wrote in said:
That is, to prepare a list of filenames for process, how to
get from here:

exe2cab -q axdist.exe
exe2cab -q mdac_typ.exe

To here:

exe2cab -q axdist.exe axdist.cab
exe2cab -q mdac_typ.exe mdac_typ.cab

Strikes me that this might require something along the lines of advanced
SED skills?

No, Sed is for text processing eh streaming.. What you need here is
some simple batch skills,
<ftp://garbo.uwasa.fi/pc/ts/tsbat79c.zip> (for dos/win)
<ftp://garbo.uwasa.fi/pc/ts/tscmd22.zip> (for NT/XP)

Open a command prompt and check the help for the command FOR /?,
you need something like

for %n in drive:\path\*.exe do exe2cab -q %n

Or you could use one of my old time favorite file finders, Locate by
Charles Dye <http://www.highfiber.com/~raster/freeware.htm, with its
macro, batch and Run command features, see
<http://short.stop.home.att.net/freesoft/filefind.htm#locate>

Type locate /C? to get info on the run feature, locate /O? for the
macro, /B? for batch. you could do something like

Locate C:\path\*.exe /C:"exe2cab -q &W" /NP

(browse the included text file for info, I did not test this command
now)

All the best
Bjorn Simonsen
 
omega wrote in said:
It's occurred to me that I could approach this GUI. I could have two
copies of the filenames. SR one from exe to cab. Then use either a CSV
editor like CSVed, else a regular editor that has columns support, and
merge the two lists. Then make the third step putting the exe2cab command
as the first column.

You could do that. You could do a DIR /S /B >>outfile.txt, (S for
subdirectories, B for bare format - filename only) then edit the
outfile.txt - insert the command in front of every exe file, save as
name.bat and run.
If you prefer GUI you could use "LS - File List Generator",
to make list <http://home.a03.itscom.net/tsuzu/programing/en/>.

All the best
Bjorn Simonsen
 
Bjorn Simonsen wrote in said:
Or you could use one of my old time favorite file finders, Locate by
Charles Dye <http://www.highfiber.com/~raster/freeware.htm, with its
macro, batch and Run command features, see
<http://short.stop.home.att.net/freesoft/filefind.htm#locate>

Type locate /C? to get info on the run feature, locate /O? for the
macro, /B? for batch. you could do something like

Locate C:\path\*.exe /C:"exe2cab -q &W" /NP

Or if you are more comfortable with a batch solution, which you can
look over before you run, you could use the macro feature to generate
a ready to go batch, like:

Locate C:\path\*.exe /O:"exe2cab -q &W" >>2cab.bat

and review/edit the 2cab.bat before you run it....
(again, not testet now, read doc :)

All the best,
Bjorn Simonsen
 
Bjorn Simonsen wrote in said:
No, Sed is for text processing eh streaming.. What you need here is
some simple batch skills

You can cf course process a list (text) of files with SED, to generate
a batch. What I meant to say was you don't need to learn Assembly to
do stuff if it can be done by simpler and less demanding means :)

All the best,
Bjorn Simonsen
 
Bjorn Simonsen wrote in said:
Maybe I should have used this freeware Batch Run app
<http://www.outertech.com/index.php?_charisma_page=product&id=1>
to get it right. Haven't used it, but it could be helpful I guess,
at least to check one got the syntax right... :)

Sorry, I had another app in mind that I've seen in the past. Could not
remember its name, and Batch Run sounded right, but wasn't it.
Remembered now and found it on web. It is called Easy Batch Bulder
(ebb), here: <http://www.octosoft.co.uk/ebb/>. Unfortunately it is
SHAREWARE,explains why I did not find a copy in my freeware archive
collection (along side Batch Run which I do keep a copy of :)

All the best,
Bjorn Simonsen
 
Bjorn Simonsen said:
Or you could use one of my old time favorite file finders, Locate by
Charles Dye <http://www.highfiber.com/~raster/freeware.htm, with its
macro, batch and Run command features, see
<http://short.stop.home.att.net/freesoft/filefind.htm#locate>
[...]
Or if you are more comfortable with a batch solution, which you can
look over before you run, you could use the macro feature to generate
a ready to go batch, like:

Locate C:\path\*.exe /O:"exe2cab -q &W" >>2cab.bat

Exactly how I wanted! This was -totally- ideal.
(again, not testet now,

That command ran perfectly.

I know you'd prefer "teach a woman to fish..."

So I'll say: I will be sure to keep the "Locate" tool in my consciousness,
with plan to explore its abilities, for upcoming projects.

As to today, well, I was happiest to enjoy the dish as served by the chef.
Such a fine job grilling, and precisely the right amount of dill. :)
 
Bjorn Simonsen said:
for %n in (drive:\path\*.exe) do exe2cab -q %n

I'd want recurse... I can't remember the method for a command.com user to
do a recursive op. But here I prefer to call in my cmd.exe imitator anyway,
in order to enjoy the upscale FOR. So I wrote a batch line like this:

cmd/c for /R "drive:\path\" %%n in (*.exe) do exe2cab -q %%n

.. . . .
Btw, my preference for this project really, it's to use your solution
with Locate.
 
Bjorn Simonsen said:
Maybe I should have used this freeware Batch Run app
<http://www.outertech.com/index.php?_charisma_page=product&id=1>
to get it right. Haven't used it, but it could be helpful I guess,
at least to check one got the syntax right... :)

That's one of those programs that I have downloaded over & over
for years...and never quite get around to remembering to try out.
Now that you've reminded me of it, maybe I'll at last give it a
serious look. Well, unless forgotten again before then....
 
Bjorn Simonsen said:
You could do that. You could do a DIR /S /B >>outfile.txt, (S for
subdirectories, B for bare format - filename only) then edit the
outfile.txt - insert the command in front of every exe file, save as
name.bat and run.

When I read this post the first time, I thought you had omitted,
for the sake of brevity, referencing that other step. The one of
providing an output filename argument.

exe2cab -q mdac_typ.exe mdac_typ.cab

Yet now I have seen the output batch from your Locate command (& the
successful results), and there learnt that the final argument wasn't
even necessary. I see that exe2cab will automatically figure out to
generate <filename.cab> without being told.

It's helpful that I got to see your information pertaining to working
with exe2cab. I'd otherwise have probably gone on imagining that need
indefinitely (for output filename).

.. . .
If you prefer GUI you could use "LS - File List Generator",
to make list <http://home.a03.itscom.net/tsuzu/programing/en/>.

My habit of turning to the DIR for projects like this is fairly
hard-rooted. However, I've always liked collecting GUI utilities
that create file lists. LS File List Generator was absent from my
collection, and I downloaded. I haven't yet spent time playing with
it, only gave it one quick romp...but it looks good.
 
Bjorn Simonsen said:
You can cf course process a list (text) of files with SED, to generate
a batch. What I meant to say was you don't need to learn Assembly to
do stuff if it can be done by simpler and less demanding means :)

Can you hear me breathe a sigh of relief?

Btw, I've realized that I'd a tunnel-vision approach in the first place.
In the assumption that I should start with hand-creating a files list.
My map was bent that way due to my preference to have a batch file gen;
instead of the op being performed directly. The far better route, it was
in your solution with Locate. Then I didn't need to start with gathering
up the filenames in a list, and trying to process the text of that list.

The Locate command did all things in one single move, get the names and
make me the batch. So very elegant. :)
 
Bjorn Simonsen said:
Sorry, I had another app in mind that I've seen in the past. Could not
remember its name, and Batch Run sounded right, but wasn't it.
Remembered now and found it on web. It is called Easy Batch Bulder
(ebb), here: <http://www.octosoft.co.uk/ebb/>. Unfortunately it is
SHAREWARE,explains why I did not find a copy in my freeware archive
collection (along side Batch Run which I do keep a copy of :)

Ok, thanks for the clarify. I dug out Batchrun right now and see how its
purpose is entirely different. Not a syntax checker for batch files.
Instead makes its own genre of script files.

"Batchrun will let you create batch files using a graphical interface.
In the good old days of DOS .bat files took care of this task. They
still do, but they're not exactly user friendly. With Batchrun .brs
batch files you can launch any number of programs or dialup connections
with just a simple click."
 
Bjorn Simonsen said:
can be done by simpler and less demanding means :)

Speaking of simple...

One thing I should post a note on. Separate matter from my own
project with the bulk conversion of my large, messy archive of
msft libraries files.

A note for someone else who might download this tiny 9k prog,
exe2cab.

Drag to create a .lnk, and put that in sendto, and you're all set.
Sending one of those SFX Cab "setup" files to your shortcut results
in an automatic output of a converted *.cab file.
 
omega wrote in said:
I'd want recurse... I can't remember the method for a command.com user to
do a recursive op.

There are some examples in Timo Salmi's batch file faq, and of course
there is said:
But here I prefer to call in my cmd.exe imitator anyway,
in order to enjoy the upscale FOR. So I wrote a batch line like this:

cmd/c for /R "drive:\path\" %%n in (*.exe) do exe2cab -q %%n

Nice, have not tried similar with my Win2k cmd yet, no need so far.
Btw, my preference for this project really, it's to use your solution
with Locate.

Glad you liked it and that it works :) The simplicity of recursion and
the macro feature to build batches or execute commands directly, is a
very convenient feature that makes it easy to "like" Locate :). There
are some other (older) DOS apps with similar features - but have yet
to find a true W32 CLI/console app that offers something similar. If
you find one - let me know. :)

All the best,
Bjorn Simonsen
 
omega wrote (in reply to Bjorn Simonsen):
Get that smiRk off your face! The reason I didn't look at properties
was because, uhm, well my mouse wasn't clicking right and it's down at
the shop for repairs.


Karen enters The Pet Shoppe.

Karen: 'Ello, I wish to register a complaint.
Owner: We're closin' for lunch.
K: Never mind that, my lad. I wish to complain about this mouse
what I purchased not half an hour ago from this very boutique.
O: Oh yes, the, uh, the Norwegian Blue...What's,uh...What's wrong
with it?
K: I'll tell you what's wrong with it, my lad. 'E's dead, that's
what's wrong with it!
O: No, no, 'e's uh,...he's resting.
K: Look, matey, I know a dead mouse when I see one, and I'm looking
at one right now.
O: No no he's not dead, he's, he's restin'! Remarkable mouse, the
Norwegian Blue, idn'it, ay? Beautiful fur!
K: The fur don't enter into it. It's stone dead.
O: Well, he's...he's, ah...probably pining for the fjords.
K: 'E's not pinin'! 'E's passed on! This mouse is no more! He has
ceased to be! 'E's expired and gone to meet 'is maker! 'E's a
stiff! Bereft of life, 'e rests in peace! If I hadn't tied 'im
to the computer 'e'd be pushing up the daisies! 'E's kicked the
bucket, 'e's shuffled off 'is mortal coil, run down the curtain
and joined the bleedin' choir invisibile!!
THIS IS AN EX-mouse!!
 
Sietse Fliege said:
omega said:
my mouse wasn't clicking right and it's down at the shop for repairs.

Karen enters The Pet Shoppe.
[...]
K: 'E's not pinin'! 'E's passed on! This mouse is no more! He has
ceased to be! 'E's expired and gone to meet 'is maker! 'E's a
stiff! Bereft of life, 'e rests in peace! If I hadn't tied 'im
to the computer 'e'd be pushing up the daisies! 'E's kicked the
bucket, 'e's shuffled off 'is mortal coil, run down the curtain
and joined the bleedin' choir invisibile!!
THIS IS AN EX-mouse!!

Thank you Sietse (you must know of my fondness for literary art)!

Just want to know, do I succeed in getting my refund?
 
omega said:
Sietse Fliege said:
Karen enters The Pet Shoppe.
K: 'E's not pinin'! 'E's passed on! This mouse is no more! He
has ceased to be! 'E's expired and gone to meet 'is maker!
'E's a stiff! Bereft of life, 'e rests in peace! If I
hadn't tied 'im to the computer 'e'd be pushing up the
daisies! 'E's kicked the bucket, 'e's shuffled off 'is
mortal coil, run down the curtain and joined the bleedin'
choir invisibile!! THIS IS AN EX-mouse!!
Just want to know, do I succeed in getting my refund?

O: Well, I'd better replace it, then.
(he takes a quick peek behind the counter)
O: Sorry m'lady, I've had a look 'round the back of the shop, and uh,
we're right out of mice.
K: I see. I see, I get the picture.
O: <pause> I got a slug.

(pause)

K: (sweet as sugar) Pray, is it MS certified?
O: Nnnnot really.
K: WELL IT'S HARDLY A BLOODY REPLACEMENT, IS IT?!!???!!?
O: Look, if you go to my brother's pet shop in Bolton, he'll replace
the mouse for you.
K: Bolton, eh? Very well.

Karen leaves.

Karen enters the same pet shop. The owner is putting on a false
moustache.

K: This is Bolton, is it?
O: (with a fake mustache) No, it's Ipswitch.
K: (to the a.c.f. folks) That's inter-city rail for you.

Karen goes to the train station.
She addresses a man standing behind a desk marked "Complaints".

K: I wish to complain, British-Railways Person.
Attendant: I DON'T HAVE TO DO THIS JOB, YOU KNOW!!!
K: I beg your pardon...?
A: I'm a qualified brain surgeon! I only do this job because I like
being my own boss!
K: Excuse me, this is irrelevant, isn't it?
A: Yeah, well it's not easy to pad this pythonesk usenet post out to
200 lines, you know.
K: Well, I wish to complain. I got on the Bolton train and found
myself deposited here in Ipswitch.
A: No, this is Bolton.
K: (to the a.c.f folks) The pet shop man's brother was lying!!
A: Can't blame British Rail for that.
K: In that case, I shall return to the pet shop!

She does.

K: I understand this IS Bolton.
O: (still with the fake mustache) Yes?
K: You told me it was Ipswitch!
O: ...It was a pun.
K: (pause) A PUN?!?
O: No, no...not a pun...What's that thing that spells the same
backwards as forwards?
K: (Long pause) A palindrome...?
O: Yeah, that's it!
K: It's not a palindrome! The palindrome of "Bolton" would be
"Notlob"!! It don't work!!
O: Well, what do you want?
K: I'm not prepared to pursue my line of inquiry any longer as I think
this is getting too silly!
Sietse : Quite agree, quite agree, too silly, far too silly...

http://www.cs.berkeley.edu/~aj/python/petshoppe.txt
 
Back
Top