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

Posted on 2006-06-30
Last Modified: 2011-10-03
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?
Question by:davidgareau
  • 3
  • 2
LVL 30

Accepted Solution

callrs earned 500 total points
ID: 17022054
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:     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 <>)
LVL 30

Expert Comment

ID: 17022080
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

Author Comment

ID: 17024143
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?

LVL 30

Expert Comment

ID: 17024178
UnRAR for Windows 3.50 is actually made by WinRar.
The official winrar is at Click "Dealers" link in the list at left side.
Takes you to which links to which is linked from the link I gave you. Clink! lol. And if you look at where the download links to, it's

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: ->

[You may find a GUI that does the same thing. Google for: unrar for windows E.g. ]

Author Comment

ID: 17025390
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"


Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Microsoft Dynamics Roles question 4 112
SonarQube on Linux vs Windows 3 52
Calibrating x & y screen  pixel coordinates 1 39
Moving files from folder to folder 8 42
I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
In our personal lives, we have well-designed consumer apps to delight us and make even the most complex transactions simple. Many enterprise applications, however, are a bit behind the times. For an enterprise app to be successful in today's tech wo…
Using Adobe Premiere Pro, the viewer will learn how to set up a sequence with proper settings, importing pictures, rendering, and exporting the finished product.
An overview on how to enroll an hourly employee into the employee database and how to give them access into the clock in terminal.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question