kabucek Posted September 18, 2006 Posted September 18, 2006 I want to compress big file (let’s say 13GB .bkf file). I want to have a batch file for that. Can anyone help me how to write such batch file? I have WinRar command line installed on my system. I’m using windows platform.
kabucek Posted September 18, 2006 Author Posted September 18, 2006 What is worng with this batch file ??? lets say i save that as comp.bat. after typing comp i have Enter folder to compress: <- and i don't know what to type here :(when i type C:\test - folder was not foundi'm sure that there is something missing or something wrong. can anyone help me? thanks for any suggestions rem %1 name of attributeecho %1@echo offset /P %my_folder%="Enter folder to compress: "if exist %my_folder% goto %rar_file%goto errorcd %my_folder%rar.exe a %my_folder% -sgoto done:errorecho folder was not found:done
Yzöwl Posted September 18, 2006 Posted September 18, 2006 What israr.exe a %my_folder% -ssupposed to be doing?You should be using something a little more along the lines ofrar a -m5 -mdg -v2097152k "%destpath%\%destname%.rar" "%my_folder%\%my_file%"Also with a probable massive filesize you may wish to decrease the split archive sizes and use the -rv and /or -rr switches.typerar -?in the appropriate directory for a full command and switch listing.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now