I am running a pretty simple command through VBscript
Set oShell = CreateObject("Wscript.Shell")
commandRun = "cmd /k WZZIP " & destinationFolderPath & sDate & " " & destinationFolderPath & "dn*"
set OutputValue = oShell.Exec (commandRun)
Do while (outputValue.Status <> 2)
wscript.sleep(1000)
loop
This code hangs the cmd window and the zip never completes. I am running the command line addon for winzip 9.0.
I just want to wait until the zip is complete to move the new zip file.
Any ideas or workarounds?
Set oShell = CreateObject("Wscript.Shell")
commandRun = "cmd /k WZZIP " & destinationFolderPath & sDate & " " & destinationFolderPath & "dn*"
set OutputValue = oShell.Exec (commandRun)
Do while (outputValue.Status <> 2)
wscript.sleep(1000)
loop
This code hangs the cmd window and the zip never completes. I am running the command line addon for winzip 9.0.
I just want to wait until the zip is complete to move the new zip file.
Any ideas or workarounds?