我的開機紀錄批次檔內容
set dd=%date:~8,2%
set dm=%date:~5,2%
set dy=%date:~0,4%
set date=%dy%/%dm%/%dd%
set hh=%time:~0,2%
set mm=%time:~3,2%
set time=%hh%:%mm%
set USERNAME >> \\file_server\start_log$\%COMPUTERNAME%_%dy%_%dm%_%dd%.txt
set COMPUTERNAME >> \\file_server\start_log$\%COMPUTERNAME%_%dy%_%dm%_%dd%.txt
set date >> \\file_server\start_log$\%COMPUTERNAME%_%dy%_%dm%_%dd%.txt
set time >> \\file_server\start_log$\%COMPUTERNAME%_%dy%_%dm%_%dd%.txt
set 分隔線 ===========================================================================
set 分隔線 >> \\file_server\start_log$\%COMPUTERNAME%_%dy%_%dm%_%dd%.txt