Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
HI,
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.
Regards,
Mora

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..
Try
this
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
----Regards
X-TechKid<marquee>Keep Smiling.. :)

![]() |
Help modulud operator
|
delete first three charac...
|
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |