• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Is it possible to delay a startup program until network is up?

Xcalibur

Senior member
I am trying to have a program run at startup from the Starup folder. The problem is that the file is on a server on the LAN, and windows is attempting to launch the program right at startup, before the network has initialized. Because of this it gives an error that the file cannot be accessed. Is there a way to delay the launch of this program until after the network is up?
 
Originally posted by: Xcalibur
I am trying to have a program run at startup from the Starup folder. The problem is that the file is on a server on the LAN, and windows is attempting to launch the program right at startup, before the network has initialized. Because of this it gives an error that the file cannot be accessed. Is there a way to delay the launch of this program until after the network is up?



there are freeware 'startup' managers that will delay a program

or get a program like 'sleep' and use it in a batch file to delay loading a certain number of seconds:

ftp://ftp.microsoft.com/Services/TechNet/samples/ps/win98/reskit/scrpting/

like:
sleep 10
start "c:\program.exe"

save as startprg.bat and run that instead of the program directly
 
I tried this, but ran into another problem. I couldn't figure out how to call the file from the network share. I tried \\server\share\file.exe but it didnt seem to work.
 
Then either the network was not yet initialized, or there is a problem with yoru name resolution, or you do not have access to the file.
 
it seems to be working now. Thanks alot. Is there a way I can make it somewhat invisible to the user? or make it start minimized?
 
Back
Top