Hi I am again, I use this bat file to compress the folders:
Quote:
@echo off
color 0c
Title Compressor
echo ************************************************** *****************************
echo * Srep+Arc *
echo ************************************************** *****************************
pause
@echo In process Srep+Arc
arc a -lc8 -ep1 -ed -r -w.\ Data\Setup-1.bin -msrep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "C:\Users\MyUser\Desktop\Example\*"
cls
echo ************************************************** *****************************
echo.
echo Compression is complete
echo.
echo ************************************************** *****************************
pause
|
The problem is if I have to do more files I should add a new line, for example:
Quote:
|
arc a -lc8 -ep1 -ed -r -w.\ Data\Setup-2.bin -msrep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "C:\Users\MyUser\Desktop\Example\*"
|
and so on.
But I would like to know if there is a way to move the directory of a folder, and using this code with some modifications divide into multiple Setup-1.bin files, Setup-2.bin, ... automatically, and if possible give The size of each bin file