.bat file to create rar archive with directory name

Got a program that plays well with SABnzbd? Share it here!
Post Reply
RiNCEWiND
Newbie
Newbie
Posts: 1
Joined: January 17th, 2011, 12:58 pm

.bat file to create rar archive with directory name

Post by RiNCEWiND »

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...
fanniecat
Newbie
Newbie
Posts: 22
Joined: September 10th, 2010, 2:57 am

Re: .bat file to create rar archive with directory name

Post by fanniecat »

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.
Post Reply