1.

Solve : Unrar batch file?

Answer»

Hi!

I'm new to this forum so I hope I'm posting at the right PLACE


I would like some help with creating a .bat file. I unpack a lot of tv series and other STUFF, and I do this with the Command Prompt. Now I got an idea that I can have a script that will help me do this faster


I'll do this step by step.

First when I open the cmd i have to write my winrar INSTALLATION PATH (set path="C:\Program Files (x86)\WinRAR\";%path%)

Then I have to change the directory to where I want the files to extract to.
For example

cd /d D:\Test\Test1


Then I have to write unrar e "D:\files\tvseries\*" -r *.avi


I was wondering if anyone of you guys know if I can get a script to do it in the following way.

set path="C:\Program Files (x86)\WinRAR\";%path% (inserted auto when I open the .bat file)

Then I get a MESSAGE saying "Enter Location:"

And I only have to write D:\Test\Test1 instead of cd /d D:\Test\Test1

Then a message saying "Enter folder"

And I only need to write D:\files\tvseries instead of unrar e "D:\files\tvseries\*" -r *.avi


Thanks in advance
Dezentanyone?



Discussion

No Comment Found