PDA

View Full Version : How can make a RAR file with command prompt (CMD)...


Soheyl
02-10-2006, 11:16 AM
I want make a RAR Archive with WinRAR, i use rar.exe (it's for command line), but i don't know how to use this command!

For use this program most use this command in CMD:

rar a -r Folder.rar Folder

But how can use on AMS ?

-------------------------------
I also have a problem in Progress (plugin), i want when copy a folder use a Progress Meter, but i can only use it just when copy a file... can't use when copy a Folder (i'm use dll wrote WORM);

thanks.

bule
02-10-2006, 12:59 PM
rar="Folder.rar";
fol="Folder";
File.Run("rar.exe", "a -r "..rar.." "..fol, "", SW_MINIMIZE, true);

Soheyl
02-10-2006, 06:13 PM
thanks Dear bule;
;)

how can make a Progress Meter for Folder Copy ?

stickck
02-11-2006, 05:19 AM
here you go. i just posted this last night.

http://www.indigorose.com/forums/showpost.php?p=75119&postcount=27

chris

Soheyl
02-11-2006, 07:01 PM
here you go. i just posted this last night.

http://www.indigorose.com/forums/showpost.php?p=75119&postcount=27

chris

thanks... ;)

stickck
02-12-2006, 07:50 AM
no problem!:D

chris

Soheyl
02-15-2006, 09:18 PM
I want make a archive file from this folder:

C:\Document & Setting\User\Application Data\Folder

How can me ?
is it true :?


rar="C:\\Document & Setting\\User\\Application Data\\Folder.rar";
fol="Folder";
File.Run(_SourceFolder .."\\rar.exe", "a -r "..rar.." "..fol, "", SW_MINIMIZE, true);


again big thanks... :yes

Soheyl
02-16-2006, 08:31 PM
How ? :cool