Dos Command line to run WINZIP /unzip <file>

Is there a command line that will unzip a zip file to a specific folder.
 ie:      [winzip{6.x} /unzip<filename C:\folder /now]
from a dos prompt?
or VB command button?
moonunitsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

SteveWoodCommented:
The command format is:

    winzip[32].exe -e [options] filename[.zip] directory
where:
-e
Is required.

options
-o and -j stand for "Overwrite existing files without prompting" and "Junk pathnames", respectively. Unless -j is specified, directory information is used. Use -sPassword to specify a case-sensitive password. The password can be enclosed in quotes, for example, -s"Secret Password".

filename.zip
Specifies the name of the Zip file involved. Be sure to specify the full filename (including the directory).

directory
Is the name of the directory to which the files are extracted. If the directory does not exist it is created.

Hope this helps.

Steve
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
moonunitsAuthor Commented:
Thanks.
I looked for all this in the 6.3 version's Help file and found nothing about lauching command line operations.

this information has been long awaited.

If it were possible to continue here Once more with the equivelent commannd line to zip files or filemask ...
ie: Zip c:\folder1 <filemask> c:\folder2 <filename.zip> /now

for this i have provided the food ..
0
SteveWoodCommented:
Hey Guess What?

Adding Files
The command format is:

    winzip[32].exe [-min] action [options] filename[.zip] files
where:
-min specifies that WinZip should run minimized. If -min is specified, it must be the first command line parameter.

action
-a for add, -f for freshen, -u for update, and -m for move. These actions correspond to the actions described in the section titled "Adding files to an Archive" in the online manual.

options
-r and -p correspond to the "Recurse Directories" and "Save Extra Directory Info" checkboxes in the Add and Drop dialog boxes. -ex, -en, -ef, -es, and -e0 options determine the compression method: eXtra, Normal, Fast, Super fast, and no compression. The default is "Normal". -hs includes hidden and system files. Use -sPassword to specify a case-sensitive password. The password can be enclosed in quotes, for example, -s"Secret Password".

filename.zip
Specifies the name of the Zip file involved. Be sure to use the full filename (including the directory).

files
Is a list of one or more files, or the @ character followed by the filename containing a list of files to add, one filename per line. Wildcards (e.g. *.bak) are allowed.


0
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

moonunitsAuthor Commented:
Excellent Answer Sreve :)
I Am going to be One Happy Zipper
If you care to continue this conversation, I am also looking for a commannd line to reboot the computer.
If you think this is too much too ask, I'll repost as a new message.
Thanks,
Moonunits.  




0
SteveWoodCommented:
The command line command tolet you reboot your computer is....

'drum roll please'.....

REBOOT (Win 95 anyway :-)  )

Hope this helps.

(This ones free - after all I am here to help)
0
moonunitsAuthor Commented:
Hi Steve,
Like baseball__you've been "very very good to me"

[About reboot]
the command "reboot" must rely on a loaded external application,
ie: reboot.com or reboot.exe, in the path dir(s).
I have a new one which works very well although i do not keep it in the path..in which case [commandline__"reboot"]does noting.
perhaps /reboot works as a switch for Rundll32 or or similar win95 procedure.
I don't know... :)
But having recently found this new app which works well because it promps you to close open files during shutdouwn i will use api calls to it.
Thanks again :)

__________"Hey Honey, it's working!"_________


0
SteveWoodCommented:
Glad to be of service.

Hope the new app works out.  No idea about "reboot" - works great on my machine.  Have to say that over the last few months I have lost track of what has been installed/uninstalled on it, so it could be a left over from something :)  Ho hum!
0
rzvika2Commented:
you can also look at:
http://www.winzip.com/xcmdline.htm
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.