I'm trying to shutdown my PC using a batch script, but when I type "@echo shutdown /r", CMD just displays "shutdown /r" on the screen, instead of doing the command. I'm currently new to batch scripting, so forgive me on my knowledge on the command prompt and batch scripting.
Here is my code (I don't think this will help):
@echo off
title Shutdown.bat
color 0a
echo:
echo Your PC will shutdown (testing).
pause>nul
@echo shutdown /r
pause>nul