hi,
I want to shut down my system by making a program on clicking on a command button. Please explain it briefly.

thanx