Search code examples
windowsbatch-filessisexplorerwinzip

stop Winzip from opening up explorer window


We are testing download an unzip of multiple files. Commands very similar to the ones shows are executed from a batch file (called from SSIS)

C:\Progra~1\WinZip\WINZIP32.EXE -min -e -o -j C:\TEMP\ZipTest\x1.zip C:\TEMP\ZipTest\Z1
C:\Progra~1\WinZip\WINZIP32.EXE -min -e -o -j C:\TEMP\ZipTest\x2.zip C:\TEMP\ZipTest\Z2
C:\Progra~1\WinZip\WINZIP32.EXE -min -e -o -j C:\TEMP\ZipTest\x3.zip C:\TEMP\ZipTest\Z3
C:\Progra~1\WinZip\WINZIP32.EXE -min -e -o -j C:\TEMP\ZipTest\x4.zip C:\TEMP\ZipTest\Z4

Unfortunately, after it is done unzipping, four Explorer windows opens up (one for each archive).

enter image description here

While it is easy to close these windows when it runs on my desktop, I cannot close any windows down that open up under the SSIS account.

How do I prevent these windows from opening up?


Solution

  • That is probably a setting in winzip GUI. There is a separate command line version that might pan out better but it is available with licensed versions only.

    You might want to consider some free command line unzip utilities, if you are not using one of the proprietary winzip compression.