PDA

View Full Version : Batch__Compress-Decompress


Dante1995
03-07-2014, 01:53
MOVED:http://fileforums.com/showthread.php?t=96170

drexx
03-07-2014, 03:02
Hmm..interesting Compressor ha i try it now!

BAMsE
03-07-2014, 07:07
First: not bath but batch :)
Second: good idea is to use %1 instead of datafile for compression and instead of data.arc for decompression.
With this modification you can drag'n'drop any folder over compression.bat to compress it and drag'n'drop any arc/bin/cab file over decompression.bat to decompress it.


arc a -ep1 -dses --dirs -s; -lc- -di -i2 -r -msrep:l256+lzma:a1:mfbt4:d200m:fb128:mc1000:lc8 %1.arc "%1\*"


arc x -w.\ -dp%~n1\ %1


Good luck.

Dante1995
03-07-2014, 09:06
I did so to better understand, I just added a simple string that everyone can understand
you know many complex systems but do not understand the mechanism

lupetto77
08-07-2014, 15:40
Hi BAMsE

Could you post or send in pm the complete batch as you describe here:
[Second: good idea is to use %1 instead of datafile for compression and instead of data.arc for decompression.
With this modification you can drag'n'drop any folder over compression.bat to compress it and drag'n'drop any arc/bin/cab file over decompression.bat to decompress it.]
I am interested in doing as you said you drag any folder and compress

Grazie

BAMsE
09-07-2014, 09:14
The command is nothing more but one line written in my previous post in first codebox