Jan 10, 2014 at 10:26pm
so i want for example to wait 20 seconds and then start the app
how should my registry at HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Run
be changed?
instead of the path of the exe can i have somehow, a timeout and then the path of the exe?
i know there exists one command at cmd --timeout, but how i can implement it at startup?
Jan 11, 2014 at 1:32am
Last edited on Jan 11, 2014 at 1:34am
Jan 11, 2014 at 8:24am
Change the app itself, add a Sleep() for 20 seconds or so in it. No service required.
If that is not possible just write another small app that wait 20 seconds, launch the main app and exits.
Jan 11, 2014 at 1:31pm
Yes my application is not registered as a service, so i guess i have to go with the sleep way at my application's code.
But just so i learn. How do you register ur app as a service? Is it a registry? Is it necessary/better?
Thanks