Can anyone tell me how to create .bat file which will create rar archive with directory name? I am using winrar and Windows Server 2003...
Thanks in advance...
.bat file to create rar archive with directory name
Re: .bat file to create rar archive with directory name
It depends what you are trying to do
You can do this without a script pretty easily, just select all the folders then right-click and select "add to archieve..."a dialog box will apear...select files tab and check "put each file to seperate archieve"...and click OK (this actually puts each subfolder to a separate archive (rar file), not each file)
If you need to put that functionality into a script, I don't know how, so hopefully someone else will teach us.
You can do this without a script pretty easily, just select all the folders then right-click and select "add to archieve..."a dialog box will apear...select files tab and check "put each file to seperate archieve"...and click OK (this actually puts each subfolder to a separate archive (rar file), not each file)
If you need to put that functionality into a script, I don't know how, so hopefully someone else will teach us.