| | |
Batch UnRAR Passworded Archives?
Thread Solved |
Hello 
I have several hundred RAR archives that I want to extract, but they each have a password which means I can't just select all of them and extract them at the same time, because it will ask me for the password for each archive - this is pretty time consuming and irritating. The password is the same for all of the archives, so is there any way for me to have them all extracted in one go (i.e. by entering the password once and having it apply to all RARs)?
I'm using WinRAR 3.71 with Windows XP Pro SP3.
Thanks!

I have several hundred RAR archives that I want to extract, but they each have a password which means I can't just select all of them and extract them at the same time, because it will ask me for the password for each archive - this is pretty time consuming and irritating. The password is the same for all of the archives, so is there any way for me to have them all extracted in one go (i.e. by entering the password once and having it apply to all RARs)?
I'm using WinRAR 3.71 with Windows XP Pro SP3.
Thanks!
"This is one race of people for whom psychoanalysis is of no use whatsoever." - Sigmund Freud on the Irish
"Education is what remains after one has forgotten everything he learned in school." - Albert Einstein
"Education is what remains after one has forgotten everything he learned in school." - Albert Einstein
If the .rar files come in continuous parts for example, file01, file 02, file03, file04, and so on... You can just right click the first file and select "extract here" without having to enter the passwords on by one.
But in your case, it seems that the parts are not continuous. I guess there is no other way than to type/paste in the password on by one.
But in your case, it seems that the parts are not continuous. I guess there is no other way than to type/paste in the password on by one.
Yeah, they are all separate files, not parts of one big file, so unfortunately that won't work for me.
I understand that WinRAR can be run from the command line. Does anyone know how to use it in this way? I'm guessing that this would be the way to go, if what I'm asking is even possible. Entering a password 241 times in a row just doesn't sound like fun to me haha.
Cheers.
I understand that WinRAR can be run from the command line. Does anyone know how to use it in this way? I'm guessing that this would be the way to go, if what I'm asking is even possible. Entering a password 241 times in a row just doesn't sound like fun to me haha.
Cheers.
"This is one race of people for whom psychoanalysis is of no use whatsoever." - Sigmund Freud on the Irish
"Education is what remains after one has forgotten everything he learned in school." - Albert Einstein
"Education is what remains after one has forgotten everything he learned in school." - Albert Einstein
I figured it out! And here's the solution:
1. Make sure all of the files you want to extract are in the same folder
2. Go to your WinRAR install directory, and copy the "UnRAR.exe" file into the directory containing your archives
3. You need to make a batch file, so open a text editor such as Notepad or Wordpad or whatever you like, and paste the following line into it:
Replace [PASSWORD] with your desired password (obviously). An example (notice there is no space between the -p and the actual password):
Save this file with any name you like, but with a .bat extension (such as "extractor.bat"). This is important! Then, move the file into the same directory as the archives you want to extract (alongside the "UnRAR.exe" file from step 2).
Just double-click the .bat file and your archives will be extracted. Saves a few hours
This probably works with zip files, too. Just replace the *.rar with *.zip, or any other supported archive for that matter (*.ace, *.gz, *.tar, etc.)
1. Make sure all of the files you want to extract are in the same folder
2. Go to your WinRAR install directory, and copy the "UnRAR.exe" file into the directory containing your archives
3. You need to make a batch file, so open a text editor such as Notepad or Wordpad or whatever you like, and paste the following line into it:
unrar x -p[PASSWORD] *.rar
Replace [PASSWORD] with your desired password (obviously). An example (notice there is no space between the -p and the actual password):
unrar x -pthisismypassword *.rar
Save this file with any name you like, but with a .bat extension (such as "extractor.bat"). This is important! Then, move the file into the same directory as the archives you want to extract (alongside the "UnRAR.exe" file from step 2).
Just double-click the .bat file and your archives will be extracted. Saves a few hours

This probably works with zip files, too. Just replace the *.rar with *.zip, or any other supported archive for that matter (*.ace, *.gz, *.tar, etc.)
Last edited by Paddy; May 15th, 2008 at 9:19 am.
"This is one race of people for whom psychoanalysis is of no use whatsoever." - Sigmund Freud on the Irish
"Education is what remains after one has forgotten everything he learned in school." - Albert Einstein
"Education is what remains after one has forgotten everything he learned in school." - Albert Einstein
![]() |
Other Threads in the Windows Software Forum
- Previous Thread: backup software....
- Next Thread: Running JInitiator in IE7?
Views: 5277 | Replies: 3
| Thread Tools | Search this Thread |
Tag cloud for Windows Software
1 2003 2007 2010 8007007e account apple apps autododesk back backup binary bing blue browser bug business cards certification christmas clone cloning codeplex converter database development disk dos downloads drive dual-boot email error exchange fedora firefox framework free french gadgets games geek geeks google googledocs government graphics hard high home i4i ie7 ie8 integration itunes kids linux mailserver management messenger microsoft mobile monitor ms net networking news office office2010 open outgoing partitioning pdf piracy pirate port port25 registry school server server2008 setup small sms software student sync technet templates thunderbird ubuntu vba video virtualization vista wars windows word xml yahoo!





