Decompress a zip file using the Windows 8.x command prompt

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
balubeto
Posts: 136
Joined: 08 Dec 2011 12:14

Decompress a zip file using the Windows 8.x command prompt

#1 Post by balubeto » 01 Jun 2015 09:54

Hi

Using the Windows 8.x command prompt, how do I decompress a zip file with the Microsoft commands?

Thanks

Bye

npocmaka_
Posts: 516
Joined: 24 Jun 2013 17:10
Location: Bulgaria
Contact:

Re: Decompress a zip file using the Windows 8.x command prom

#2 Post by npocmaka_ » 01 Jun 2015 11:01

check this - https://github.com/npocmaka/batch.scrip ... /zipjs.bat :

Code: Select all

call zipjs.bat unzip -source C:\myDir\myZip.zip -destination C:\MyDir


more info here:
http://stackoverflow.com/questions/2804 ... th-batch-f

balubeto
Posts: 136
Joined: 08 Dec 2011 12:14

Re: Decompress a zip file using the Windows 8.x command prom

#3 Post by balubeto » 01 Jun 2015 11:34

npocmaka_ wrote:check this - https://github.com/npocmaka/batch.scrip ... /zipjs.bat :

Code: Select all

call zipjs.bat unzip -source C:\myDir\myZip.zip -destination C:\MyDir


more info here:
http://stackoverflow.com/questions/2804 ... th-batch-f


This is the only solution for Windows 8.x or there are other solutions more direct, as a Powershell command or an exe command, to do this?

Thanks

Bye

npocmaka_
Posts: 516
Joined: 24 Jun 2013 17:10
Location: Bulgaria
Contact:

Re: Decompress a zip file using the Windows 8.x command prom

#4 Post by npocmaka_ » 01 Jun 2015 12:00

On windowd 8* yo have better solutions as you have .NET 4.5 which have real zipping classes (earlier versions have only gzipstreams that can be used only with single files),
And so they are accessible through powershell.There are more than enough examples in MSDN.

https://msdn.microsoft.com/en-us/librar ... e(v=vs.110).aspx

Post Reply