@echo off set /a delay=600 :: Opóźnienie w sekundach (tu: 10 minut) echo Restarting the computer in %delay% seconds... timeout /t %delay% /nobreak shutdown /r /t 0