Need to delay a startup program ...

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello Group:


Is there a batch command that will delay a program from
starting up when the computer boots up? I need a program
to wait a user defined number of seconds.

Any and all help would be appreciated.


Thanks,


wmk
 
Could do it easily within vbscript (copy into notepad and save with .vbs
extension, placing a shortcut in your startup folder)


Set WshShell = WScript.CreateObject("WScript.Shell")
numberofseconds = 10
numberofseconds = numberofseconds *1000
wscript.sleep numberofseconds
wshshell.run """c:\filetorun.exe"""



Jon
 
Back
Top