I'm trying to make batch file that restarts pc. So the batch file closes right after start and the system is not restarting. Because i'm not sure which command for restart is right i put all i found.
title System restart script
echo Restarting in progress
shutdown.exe /r /t 00
shutdown -t 0 -r -f
shutdown -t 00 -r
shutdown.exe -r -t 00