建立一個批次檔案 restart.bat
內容填入
echo off
echo %date% %time%>>restart.log
SHUTDOWN.exe -r -f

加上工作排程定期執行就可以 


 

arrow
arrow

    阿基 發表在 痞客邦 留言(0) 人氣()