how do I make it so when a program is run, it will automatically load the next time the computer is turned on?
Also, how can I detect when the computer is being shut down?