Does Windows 7 come with a native uncompress (unzip) command-line tool?
Hi Does Windows 7 come with a native uncompress (unzip) tool that can be run from the command-line? I am looking for native uncompress solution so that users do not have to either provide a third-party Unzip tool or for me having to create a self-extraction file.Thanks Jeff in Seattle
April 10th, 2010 11:01pm

I'm not aware of a command line option to unzip files. The normal way would be to right-click on the compressed file (note: only *.zip format is supported) and select "extract all", following the instructions then. If you want more flexibility, you must use 7zip or something like that (WinRAR, f.e.). The native solution is somewhat restricted, probably by licensing issues."I think there is a world market for maybe five computers. (Thomas J. Watson, Sr.)
Free Windows Admin Tool Kit Click here and download it now
April 11th, 2010 1:18am

Hi, According to my search, if you want to unzip file using command line, additional software maybe needed. Here are more information: http://stahlworks.com/dev/index.php?tool=zipunzip http://www.memecode.com/docs/winzip.html Hope it helps.Vivian Xing - MSFT
April 12th, 2010 11:25am

The stahlwordk unzip seems to be built for 1999 zip files and doesn't work with a zip file I just created with windows 7, do you have a pointer to a working tool?
Free Windows Admin Tool Kit Click here and download it now
June 14th, 2011 5:35pm

There's a way to unzip with explorer in vbscript, but I've just started using 7-zip: http://www.7-zip.org Keep 7z.exe and 7z.dll together.
June 14th, 2011 6:42pm

There's a way to unzip with explorer in vbscript, but I've just started using 7-zip: http://www.7-zip.org Keep 7z.exe and 7z.dll together. Well...what is the command? You only told half the story. And doing 7z.exe just says invalid command line.Find this post helpful? Does this post answer your question? Be sure to mark it appropriately to help others find answers to their searches.
Free Windows Admin Tool Kit Click here and download it now
August 23rd, 2011 6:04am

OK so an update, on the 7-zip download page (http://7-zip.org/download.html) they have a specific command line version (http://downloads.sourceforge.net/sevenzip/7za920.zip). It does not even contain a 7z.dll so I presume the poster above was jerry rigging the normal install version. The zip file contains 7za.exe and 7-zip.chm. The help files seems broken to me so I found the switches online, but I only could find them on a japanese website, but it is english: Syntax: http://sevenzip.sourceforge.jp/chm/cmdline/syntax.htm commands: http://sevenzip.sourceforge.jp/chm/cmdline/commands/index.htm Extract with full paths: http://sevenzip.sourceforge.jp/chm/cmdline/commands/extract_full.htm From the site: Examples 7za.exe x archive.zip extracts all files from the archive archive.zip to the current directory. 7za.exe x archive.zip -oc:\soft *.cpp -r extracts all *.cpp files from the archive archive.zip to c:\soft folder. Find this post helpful? Does this post answer your question? Be sure to mark it appropriately to help others find answers to their searches.
August 24th, 2011 9:00am

go here: http://www.info-zip.org/ download the unzip.exe store it wherever you like, i put mine in the program files folder, but anywhere is fine add its path to your enviroment variables then you can cd to your zipfile in command line and type "unzip yourzipfile.zip" it will unzip in the current directory. and it's free.
Free Windows Admin Tool Kit Click here and download it now
August 30th, 2011 12:41pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics