View Single Post
  #3  
Old 03-07-2014, 07:07
BAMsE's Avatar
BAMsE BAMsE is offline
The World Is Yener's
 
Join Date: Mar 2011
Location: in front of the monitor
Posts: 344
Thanks: 49
Thanked 271 Times in 91 Posts
BAMsE is on a distinguished road
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.

Code:
arc a -ep1 -dses --dirs -s; -lc- -di -i2 -r -msrep:l256+lzma:a1:mfbt4:d200m:fb128:mc1000:lc8 %1.arc "%1\*"
Code:
arc x -w.\ -dp%~n1\ %1
Good luck.
Reply With Quote
The Following 2 Users Say Thank You to BAMsE For This Useful Post:
mausschieber (03-07-2014), y_thelastknight (03-07-2014)