I am using the below with mods but ziping several Gb of info the last command is Wscript.sleep 2000. I have extended this to 20,000 and 200,000 but I use the script vor various diferent sizes. Is there a way of ensuring the task finishes before exiting or alternativly exits when finished rather than sticking in a wait that is to long for short ones and may be to short for larger ones?

CScript _zipIt.vbs
Can you zip a file from command prompt?

link|improve this question
have a look here, it is a complete vbs example robvanderwoude.com/vbstech_files_zip.php – random Feb 23 at 20:45
A later answer to that question shows how to watch for the windows to disappear before exiting the script. – afrazier Feb 23 at 21:32
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.