Hello, I am attempting to unzip a series of files via "WScript.shell" object within a DTS/ActiveX Script Task. However, I receive the following error "Object Required: 'WScript'" on the following line - "WScript.Sleep 100" - this line is wrapped in a loop as in the following:
Do While oExec.Status = 0
WScript.Sleep 100
Loop
I am attempting to monitor the progress of the oExec as the files are being processed (unzip). I was hoping to ensure that the ActiveX task would complete not until all the files have been successfully unzipped.
If you any suggestions how I may get this code to work or an alternative work around, it would be greatly appreciated. Thanks in advance.
Take Care - Michael
Do While oExec.Status = 0
WScript.Sleep 100
Loop
I am attempting to monitor the progress of the oExec as the files are being processed (unzip). I was hoping to ensure that the ActiveX task would complete not until all the files have been successfully unzipped.
If you any suggestions how I may get this code to work or an alternative work around, it would be greatly appreciated. Thanks in advance.
Take Care - Michael