Link to home
Start Free TrialLog in
Avatar of madasczik
madasczik

asked on

Sleep A While Then Check For File

How can i use WScript.Sleep in a loop that checks for a file in a directory every five minutes?  If the file is there, would like to delete it then do something else.  Will be running a schedule task that executes a VBS file.  Any help would be much appreciated.
Avatar of Jini Jose
Jini Jose
Flag of India image

use a timer to do this
ASKER CERTIFIED SOLUTION
Avatar of JesterToo
JesterToo
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial