Friday, July 31, 2009

How to shutdown computer using "c" or "C++" program?

How to shutdown computer using "c" or "C++" program?


can anyone send ma a c or c++ program to shutdown the computer....plzz

How to shutdown computer using "c" or "C++" program?
Here's some code: http://msdn.microsoft.com/library/defaul...





And code to reboot from MS-DOS:


http://www.codeproject.com/cpp/dosreboot...
Reply:You can incorporate the "Shutdown.exe" file using the '/s' switch to specify shutdown. You have to be using XP to do it however.

florist shop

No comments:

Post a Comment