실행시간
-
배치파일 실행시간 측정컴퓨터/배치파일 2019. 2. 16. 22:13
https://stackoverflow.com/questions/9922498/calculate-time-difference-in-windows-batch-file @echo off rem Get start time:for /F "tokens=1-4 delims=:.," %%a in ("%time%") do ( set /A "start=(((%%a*60)+1%%b %% 100)*60+1%%c %% 100)*100+1%%d %% 100") rem Any process here... rem Get end time:for /F "tokens=1-4 delims=:.," %%a in ("%time%") do ( set /A "end=(((%%a*60)+1%%b %% 100)*60+1%%c %% 100)*100+..