SEARCH:   GO
{latest Blog entries}
Aug 3

Written by: Javier Callico
8/3/2009 12:00 AM  RssIcon

Using the FOR command and an unzip program, like the free 7-Zip, all the files in a given folder can be easily unzipped (using C:\Temp in this example):

for /f "tokens=*" %%G in ('dir /b "C:\Temp\*.zip"') do "C:\Program Files\7-Zip\7z.exe" e -y "C:\Temp\%%G"

The batch file available for download below, extends the usage of the command above and allows to specify the folder as a parameter.

Usage: UnzipAll.bat "C:\Temp"

Sample Usage

Download UnzipAll.zip here.

Tags:
Categories:

Your name:
Gravatar Preview
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Security Code
CAPTCHA image
Enter the code shown above in the box below
Add Comment   Cancel 
/* My Tweets */