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
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?
Last edited on
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.
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?