heredago's blog

April 9, 2012

Extract Multiple RAR & ZIP Files At Once from Different Folders

Filed under: Uncategorized — Tags: , , , , , , , , , , , , — heredago @ 13:29

Two methods:

1. Easy & customizable solution – Found this one after I was done with the second one :\

(Using ExtractNow) Another Option is A Free Program That lets you basically make unRAR playlists and you can en queue from your context menu. (although I dont need this option very often at all so i dont even use this particular program so i have no vested interest if you use it or not.

You can use Winrar or iZarc to extract multiple rar and zip files, but you can only do this if the archives are in the same folder. What if we want to extract several rar files that are located in different folders? In this case, most extraction tools, even the popular ones, aren’t able to do so. ExtractNow is a long well-known astonishing solution in this matter.

How to extract multiple rar files at once from different folders:

1. Suppose that you have two rar files which are each in different folders. Go to the first folder, right-click the rar file, and select ““Enqueu”. A mini window will appear–ignore it for now but don’t close it.

extract_context_menu

2. Next, go to the second folder, right-click the rar, and select “Enqueu”. The mini window will appear again.

extract_multiple_rar

3. You can add more rar files to the Enqueu list if you want to. When you’re done adding all archives, click the “Extract” button to start extracting.

ExtractNow extract each archive in its own folder by default. If you want to change it, configuring where the archives should be extracted into can be done in the setting menu.

In addition to the context-menu integration, ExtractNow also supports drag and drop operation. However, to make use of the context-menu integration, you must first enable it from the setting menu.

extract_several_rar_context_menu

The archive formats ExtractNow supports are as follows:

zip (+jar,xpi), bzip2 (+bz2,tbz2,tbz), rar, arj, z, lzh (+lha), 7z, cab, nsis, lzma, lzma86, xz (+txz), ppmd, udf, xar, mub, hfs, dmg, compound (+msi,doc,xls,ppt), wim (+swm), iso, chm (+chm,chi,chq,chw,hxs,hxi,hxr,hxq,hxw,lit), split (+001), rpm, deb, cpio, tar, gzip (+gz,gzip,tgz,tpz), mslz, flv, swf, ntfs (+ntfs,img), fat (+fat,img), mbr, vhd, pe, elf, apm, macho, ace, sit

ExtractNow is compatible with Windows 7, Vista, XP and WIndows 98. It’s a freeware and you can download the latest version from the developer’s homepage.

Source: http://www.downloadzen.com/extract-multiple-rar-zip-files-at-once-different-folders-windows-7-vista-xp.htm

 

2. Using biterScripting

Source: http://www.techimo.com/forum/applications-operating-systems/174749-batch-rar-file-extraction.html#post2977391

A. Install biterscripting (free), copy the code below in a new script file “ss_Unrar.txt” in c:\scripts

# Start with top directory C:\somefolder.   EDIT THE LINE BELOW
cd “C:\somefolder”
 
# Collect a list of .rar files.
var str rarlist ; lf -nr “*.rar” > $rarlist
 
# Convert files one by one.
while ($rarlist <> “”)
do
     var str rarfile ; lex “1” $rarlist > $rarfile
 
    # Full file path is in $rarfile. Get the directory and file name.
    var str folder ; stex -p “]^/^l” $rarfile > $folder
    var str file ; stex -p “^/^l[” $rarfile > $file
 
    # Move to $folder, and convert $file
    cd $folder
    system “unrar x -p-” (“\””+$file+”\””)
 
    # Optionally delete file with system delete command.  REMOVE THE 2 LIES BELOW IF YOU DON’T WANT TO DELETE THE ORIGINAL ARCHIVES
    system del “*.r*”
    system del “*.sfv”
 
done

B. Then,follow the instructions below and EDIT the “Path” object by adding your winrar path ex:    C:\Program Files\WinRAR    in the string list, don’t forget the “;”, just look at the original syntax.

THEN YOU NEED TO REBOOT

To access the environment variables right click the My Computer icon then choose properties.  Select the Advanced tab and then click Environment Variables.

image

At the system variables panel, choose the Path object then click the Edit button.

image

I would recommend copying this value and pasting it on Notepad first before editing.  Save the old value as a text file so you will have a backup of the original value.

Edit the variable value.  It is a long string separated by semicolons.   Make sure the Winrar file’s location is one of the entries on this string.  If it is not, enter the location of the executable file.  ex:  add     C:\Program Files\WinRAR to the string list

image

Click OK after editing the value.  Reboot the computer to enable the new value.

Source if above pics don’t show: http://helpdeskgeek.com/how-to/fix-not-recognized-as-an-internal-or-external-command/

C. after rebooting, lunch biterscripting and enter the following code in it:   script ss_unrar.txt   and it will do the work!

 

Advertisements

1 Comment »

  1. Thanks for the solution. Works well for me.

    Comment by SH — September 21, 2013 @ 10:26


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: