Can someone gv me a Code, to a shutdown script automaticall ? i 'm a newbie, just created a billing software interface.. i created my menus.. File---->> this want i want if any of client..clicks on File menu and click on shutdown.. i want the system to shutdown immediatley and another code if the User wanna Restart the computer by click on File----> Restart. it should restart immedialty..
Lets Codes that i needed is
Thanks in advanced