Need to delay a startup program ...

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
 
J

Jon

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top