I was downloading a game(which took forever) and I had the need to leave the house before it was done. That gave me a new idea on what project I should do next. I want to create an application in visual C# that will shutdown the computer when everything from downloads to installing a program is complete. I know how to shutdown the computer using code but to make it shutdown after the events are complete is what is troubling me. I would appreciate the help.
PS: my operating system is windows vista. Also if there is a way to achieve this in batch or VBScript I would like to know how as well.
Thanks,