Un-RAR multiple files with same password, without re-entering password every time.

I have a thousand or so .rar files and use WinRAR 3.x and would like to un-rar the files.
They all have the same password.

Most are in sets of 3 so that they have

So I highlight te part1 of each file and right-click and choose to extract here. I am asked for the password for each and every set of 3 files.
I want to extract all using the same password.  How can I do this?
Who is Participating?

Improve company productivity with a Business Account.Sign Up

callrsConnect With a Mentor Commented:
Took over an hour, but found it lol. First tried  Winrar command line tool, but no luck. Then Picozip command line tool. Its manual is very user-unfriendly - won't let you do a decent search or scroll with mouse. (But Picozip is otherwise is one of the best zip/rar/etc. utilities)

Finally found this gem:
http://www.sharewareplaza.com/UnRAR-for-Windows-download_25684.html     UnRAR for Windows 3.50 - Command line freeware UnRAR for Windows

Sample use that I just tested & works:
unrar e -p<password> <rarfile>
(without the <>)
You can put the unrar commands into a batch file. E.g.

This is just basic (will extract into same folder) but it can be changed to create new folders (part1 part2 part3) etc for the extracts:
for %a in (*.rar) do unrar e -p<password> %a  <path>

(Can run above from command line, or use %%a not %a if running from batch file)


UNRAR 3.50 freeware      Copyright (c) 1993-2005 Alexander Roshal

Usage:     unrar <command> -<switch 1> -<switch N> <archive> <files...>
               <@listfiles...> <path_to_extract\>

  e             Extract files to current directory
  l[t,b]        List archive [technical, bare]
  p             Print file to stdout
  t             Test archive files
  v[t,b]        Verbosely list archive [technical,bare]
  x             Extract files with full path

  -             Stop switches scanning
  ac            Clear Archive attribute after compression or extraction
  ad            Append archive name to destination path
  ap<path>      Set path inside archive
  av-           Disable authenticity verification check
  c-            Disable comments show
  cfg-          Disable read configuration
  cl            Convert names to lower case
  cu            Convert names to upper case
  dh            Open shared files
  ep            Exclude paths from names
  ep3           Expand paths to full including the drive letter
  f             Freshen files
  id[c,d,p,q]   Disable messages
  ierr          Send all messages to stderr
  inul          Disable all messages
  ioff          Turn PC off after completing an operation
  kb            Keep broken extracted files
  n<file>       Include only specified file
  n@            Read file names to include from stdin
  n@<list>      Include files in specified list file
  o+            Overwrite existing files
  o-            Do not overwrite existing files
  oc            Set NTFS Compressed attribute
  ow            Save or restore file owner and group
  p[password]   Set password
  p-            Do not query password
  r             Recurse subdirectories
  ri<P>[:<S>]   Set priority (0-default,1-min..15-max) and sleep time in ms
  ta<date>      Process files modified after <date> in YYYYMMDDHHMMSS format
  tb<date>      Process files modified before <date> in YYYYMMDDHHMMSS format
  tn<time>      Process files newer than <time>
  to<time>      Process files older than <time>
  ts<m,c,a>[N]  Save or restore file time (modification, creation, access)
  u             Update files
  v             List all volumes
  ver[n]        File version control
  vp            Pause before each volume
  x<file>       Exclude specified file
  x@            Read file names to exclude from stdin
  x@<list>      Exclude files in specified list file
  y             Assume Yes on all queries
davidgareauAuthor Commented:
When I unrar'd the file you linked to for download, Ad-Aware found a monitoring process in it!  I would rather stick with WinRAR as I've used it for a while, and get no such spyware-type problems.

any ideas why I got that?

UnRAR for Windows 3.50 is actually made by WinRar.
The official winrar is at www.rarlab.com. Click "Dealers" link in the list at left side.
Takes you to http://www.rarlab.com/registration.php which links to www.win-rar.com which is linked from the link I gave you. Clink! lol. And if you look at where the download links to, it's files.rarlab.com.

Anyway, sorry for the run around, but Winrar didn't make it clear that the winrar command line won't unrar files, that you need their unrar instead.

Here's the official link, which will get you the same file: http://www.rarsoft.com/rar_add.htm -> http://www.rarlab.com/rar/unrarw32.exe.

[You may find a GUI that does the same thing. Google for: unrar for windows E.g. http://www.pewtersoftware.com/winunrar.html  http://unxutils.sourceforge.net/ ]
davidgareauAuthor Commented:
I see that unrar is actually the command-line .exe for my already installed WinRAR 3.4, so I did the following from a DOS prompts and it worked good.

C:\Program Files\WinRAR>unrar e -pmyPassword "C:\Documents and Settings\david\D
esktop\RS Downloads\Pics\*.part1.rar" "C:\Documents and Settings\david\Deskt
op\RS Downloads\Pics"

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.