Jump to content

Recommended Posts

Posted

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 :wacko: . Any suggest?

thanks!! :hello:


Posted

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

Posted

many thanks for your help, but im not very familiar with these commands, so please explain in detail step by step. Sorry :rolleyes:

Posted

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"
pause

Save it. Double click it. Should work as expected.

--

Pyron

Posted

when double-clicking it doesnt work, and running it in cmd i get this

I also need EXEs to be compressed

Microsoft Windows XP [Version 5.1.2600]

© Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Administrator>cd..

C:\Documents and Settings>cd..

C:\>cd f

C:\f>createcabs

"%i" was unexpected at this time.

C:\f>for "%i" in (*.dll;*.cpl) do makecab "%i"

C:\f>

Posted

THANKS ALL!!!

Jcarle in what language do you make your programs? C# in Visual Studio? just for curiosity

BYE! :hello:

Posted
THANKS ALL!!!

Jcarle in what language do you make your programs? C# in Visual Studio? just for curiosity

BYE! :hello:

Yes, Indeed. :) IMHO, it's the best language.

Posted

jcarle could you post some links related to C# language for idiots? :P (for pre-pre-pre beginners like me) Some pdf tutorial for example or websites.

THANKS!! :thumbup

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...