|
Answer» Hi, I need to unzip one .zip file using a batch file in such a way that it should not prompt me to do anything. For WinRAR, we use some options like WinRAR X -y -ibck Same options are not working for Winzip too.
Please let me know what command should be given to achive the above result.You can just use WinZip Self-Extractor, which has the ability to create self-extracting Zip files that automatically extract files to a specified folder. This option has the same effect as clicking the Unzip BUTTON when the main dialog box is displayed, and, if the unzip operation is SUCCESSFUL, clicking the CLOSE button.
The latest version of WinZip Self-Extractor can be downloaded from the WinZip web site. http://www.winzip.com/prodpagese.htm
To use this option, check the Unzip automatically box in the Options section of the WinZip Self-Extractor Wizard.
Both the Unzip automatically and Default to overwrite files without prompting options can be used together.
Note: If you wish to run a self-extracting Zip file that was not created with the Unzip automatically feature from another program, you can pass the /AUTO parameter to unzip the files without user interaction and specify a DESTINATION folder for the unzipped files. For example, if hello.exe is a self-extracting file, the command
hello.exe /auto c:\hello
will automatically extract files into the c:\hello folder.If you know how to do it with winrar why not just use winrar? It can open winzip files.
|