Hi I want to create a batch which performs more than one operations. Like it should display
1.Restart
2.Shutdown
3.Close all Windows
4.Log off
5
There a a lot of tutorials available on internet for batch programming like http://www.infionline.net/~wtnewton/batch/batguide.html .you can go through it
The commands 1.Restart 2.Shutdown 3.Close all Windows 4.Log off 5.Switch User are available from execution from command like but require admin privileges. you can try this for available options.
shutdown help
on command line.