Jump to content

Recommended Posts

Posted


Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "c:\myprogram.exe"

But How do I make it wait 30 minutes before running it?

Thanks for any help you can offer it would be great.


Posted

You should be able to use Sleep.

Set WshShell = CreateObject("WScript.Shell")
WScript.Sleep 30 * 60000
WshShell.Exec("C:\MyProgram.exe")

Where 30 is the number of minutes you desire.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...