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 29 July 2012 - 04:39 PM
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "c:\myprogram.exe"
Posted 29 July 2012 - 05:40 PM
Set WshShell = CreateObject("WScript.Shell")
WScript.Sleep 30 * 60000
WshShell.Exec("C:\MyProgram.exe")
Where 30 is the number of minutes you desire.
Posted 29 July 2012 - 05:45 PM
This post has been edited by clivebuckwheat: 29 July 2012 - 05:53 PM
Posted 29 July 2012 - 05:50 PM
Posted 29 July 2012 - 07:34 PM