View Single Post
  #229  
Old 10-06-2017, 12:18
lupetto77's Avatar
lupetto77 lupetto77 is offline
Registered User
 
Join Date: Nov 2008
Location: Italia
Posts: 87
Thanks: 1
Thanked 2 Times in 2 Posts
lupetto77 is on a distinguished road
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
Reply With Quote