title: How to automatically start own executable after windows restart?
body: <p>Let's assume that I have a C# .NET 2.0+ application running on windows. And at some certain point in time it forces Windows to restart. How can I automatically start this application again after windows restarts to continue program to do some work?? I need to do it in code somehow, but I don't know how. Point me, please to some info on this or some pieces of code will be great. Thanks!</p>