XPero Posted August 23, 2004 Posted August 23, 2004 Hi, i have a dir full of exes dlls and cpls and i want to Makecab them all in one step, not file by files because is tedious . Any suggest?thanks!!
big poppa pump Posted August 23, 2004 Posted August 23, 2004 Add makecab to your right click option. right click on the file and then click makecab.
Pyron Posted August 23, 2004 Posted August 23, 2004 How about this:for "%i" in (*.dll;*.cpl) do makecab "%i"Double the % if you are doing this from a batch file:for "%%i" in (*.dll;*.cpl) do makecab "%%i"-- Pyron
XPero Posted August 23, 2004 Author Posted August 23, 2004 many thanks for your help, but im not very familiar with these commands, so please explain in detail step by step. Sorry
Pyron Posted August 23, 2004 Posted August 23, 2004 Step by step:Create an empty textfile in the directory with the cpls. Name it "createcabs.cmd".Edit it and put this into it:for "%%i" in (*.dll;*.cpl) do makecab "%%i"pauseSave it. Double click it. Should work as expected.-- Pyron
XPero Posted August 23, 2004 Author Posted August 23, 2004 when double-clicking it doesnt work, and running it in cmd i get thisI also need EXEs to be compressedMicrosoft Windows XP [Version 5.1.2600]© Copyright 1985-2001 Microsoft Corp.C:\Documents and Settings\Administrator>cd..C:\Documents and Settings>cd..C:\>cd fC:\f>createcabs"%i" was unexpected at this time.C:\f>for "%i" in (*.dll;*.cpl) do makecab "%i"C:\f>
Pyron Posted August 23, 2004 Posted August 23, 2004 Ah, typo...Try this:for %%i in (*.dll;*.cpl;*.exe) do makecab "%%i"pause-- Pyron
XPero Posted August 23, 2004 Author Posted August 23, 2004 O L E! IT works!!! Many many thanks PYRON!!
jcarle Posted August 24, 2004 Posted August 24, 2004 My utility posted in this thread allows you to drag and drop multiple files to makecab.
prathapml Posted August 24, 2004 Posted August 24, 2004 Another option to consider would be to use the IEXPRESS tool, that comes with windows itself. (just run it from "Start>>Run")
XPero Posted August 24, 2004 Author Posted August 24, 2004 THANKS ALL!!!Jcarle in what language do you make your programs? C# in Visual Studio? just for curiosityBYE!
jcarle Posted August 24, 2004 Posted August 24, 2004 THANKS ALL!!!Jcarle in what language do you make your programs? C# in Visual Studio? just for curiosityBYE! Yes, Indeed. IMHO, it's the best language.
XPero Posted August 25, 2004 Author Posted August 25, 2004 jcarle could you post some links related to C# language for idiots? (for pre-pre-pre beginners like me) Some pdf tutorial for example or websites.THANKS!!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now