Unzip All the Zip files from a folder

Microsoft Windows xp professional sp2 w/...
November 2, 2009 at 23:21:44
Specs: Windows Server 2003

I need to write a batch script which will unzip all the .Zip files from a folder XYZ.

Inside the folder XYZ there are multiple .Zip files I need to unzip them and place them in my target directory.


See More: Unzip All the Zip files from a folder

Report •

November 3, 2009 at 00:13:02
Hi Mora,

Assume that we execute the batch file in the folder where u have all the zip files.

@echo off
@echo Extracting the file..
"C:\Program Files\WinZip\winzip32.exe" -e *.zip
@echo all files extracted

This should work, The path where the winzip32.exe file exists may vary based on ur installation path for winzip. I used the default path.

If u face any issues with this code..
if suppose f:\folder is the folder which contains the zip files

@echo off
@echo Extracting the file..
cd C:\Program Files\WinZip\
winzip32.exe -e f:\folder\*.zip
@echo all files extracted


<marquee>Keep Smiling.. :)

Report •
Related Solutions

Ask Question