What is the command line command for unzipping files?

J

Jim H

On a stock Vista box we need to be able to extract files from a zip file
from a command line batch script. I can't seem to find a command for this.
I know unzipping is built in because we can just double click on it and get
access to the files.

Any ideas?

Thanks in advance,
jim
 
T

Tim Slattery

Jim H said:
On a stock Vista box we need to be able to extract files from a zip file
from a command line batch script. I can't seem to find a command for this.
I know unzipping is built in because we can just double click on it and get
access to the files.

Yes, unzipping is built in, but there's no command-line access to
Vista's zip capability. Google for it, there are many freebies for
this.
 
R

Rick Rogers

Hi,

Don't know how useful this will be, but you may want to read this thread:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=692917&SiteID=1

Basically, there is no command line to use. The unzipping is a function of
zipfldr.dll, so would use regsvr32.exe to invoke it, and as far as I know
there are no arguements you can add to it for unzipping via batch file.

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP

Windows help - www.rickrogers.org
My thoughts http://rick-mvp.blogspot.com
 
S

Synapse Syndrome

Jim H said:
On a stock Vista box we need to be able to extract files from a zip file
from a command line batch script. I can't seem to find a command for
this. I know unzipping is built in because we can just double click on
it and get access to the files.

Any ideas?


I use the command line version of 7-Zip. Add it to a folder that you have
added to your PATH - I use C:\WINDOWS\~command - or you can just put it in
your system32 folder.

http://www.7-zip.org/download.html

ss.
 

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