fillalph Posted July 9, 2006 Share Posted July 9, 2006 I was hoping someone could write a really batch file (or something simply) to parse through the subfolders of a directory and unrar everything in them to a common folder that I choose.Thanks]Bonkers[ Link to comment Share on other sites More sharing options...
allen2 Posted July 9, 2006 Share Posted July 9, 2006 @echo offsetlocalif "%1"=="" goto usageif "%2"=="" goto usageif not exist %1 goto iesrcfor /f "delims=;" %%i in ('dir /b /ad %1') do (unrar e -o+ -inul %1\%%i\*.rar %2)goto end:usageecho unrargui sourcefolder destinationfoldergoto end:iesrcecho sourcefolder %1 does not existgoto end:endendlocal This should do the job. If you don't want the error management remove all line except the one begining with for. Link to comment Share on other sites More sharing options...
fillalph Posted July 10, 2006 Author Share Posted July 10, 2006 Thanks allen2 for the program. I also came across a program called Unpacker that works nicely as well. Both will have their use .]Bonkers[ Link to comment Share on other sites More sharing options...
Guest WebMadman Posted July 10, 2006 Share Posted July 10, 2006 (edited) ... Edited July 31, 2006 by WebMadman Link to comment Share on other sites More sharing options...
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