batch unzip to original path

  • Thread starter =?iso-8859-15?B?qUCurqSl?=
  • Start date
?

=?iso-8859-15?B?qUCurqSl?=

I have hundreds of ZIP files located within different branches of the root
folder. Is there available a batch unzip program which can find all the
ZIP's in a folder and extract the contents to the ZIP's original path?

Cheers!

Marty
 
A

Adam Piggott

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

©@®®¤¥ said:
I have hundreds of ZIP files located within different branches of the
root folder. Is there available a batch unzip program which can find
all the ZIP's in a folder and extract the contents to the ZIP's
original path?

Using Info-ZIP's freeware UnZip[1] you could try:

for /R %I in ("C:\Foldername\*.zip") do unzip "%~fI"

I'd be careful though - if some of the zip files don't have their path
information saved, or were from a different drive letter, you could end up
with a bit of a mess!

HTH

[1] http://www.info-zip.com/
- --
Adam Piggott, Proprietor, Proactive Services (Computing).
http://www.proactiveservices.co.uk/

Please replace dot invalid with dot uk to email me.
Apply personally for PGP public key.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)

iD8DBQFDYh/h7uRVdtPsXDkRAu1rAJsEelKKPfQIUj7nUn0ot/KRlsDLuwCdF3HH
w8ZoG7cB2LKiDlqIrzvMkqE=
=l57F
-----END PGP SIGNATURE-----
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top