How to write a batch file to restart windows 7

Adamm07x

Distinguished
Nov 2, 2010
229
0
18,710
Hi i just installed a new premium theme called hud apocalypse. i love the theme except it kinda erased my shutdown/restart/logoff/switchuser default from the start menu.

I was able to write a batch file to shutdown.
this is the code in the batch file
c:\windows\system32\shutdown -s -f -t 000

i've done a lot of google searches and alot of them say to restart via batch file
and the command is
Shutdown -r

but this just shutsdown the computer and doesn't reboot.

If anyone knows how to write a reboot batch file i would love to know it!