|
|
Question : unzipping multiple zips to multiple folders in a batch file
|
|
Hi,
I have a directory with zip files in it. I would like to run a batch program on the files to unzip the files each to their own folder. The folder name should be the same as the zip file, but without the .zip extension.
Also the zip files I use when unzipped do not create a folder for all their contents, but create their files in the same folder. I would like the files to be in a separate folder for each zip in my directory.
Any help would be greatly appreciated,
Stoke
|
Answer : unzipping multiple zips to multiple folders in a batch file
|
|
Again I dont have wzunzip but I used the example you gave above for syntax on it and this should work.
for /f "tokens=1 delims=." %i in ('dir /b *.txt') do wzunzip -d "%i.zip" ".\%i"
|
|
|
|