Timer:
@echo off
echo "Start Testing"
REM Not set FileName = "Timer.txt"
REM There is not blank
set FileName=" Timer.txt"
echo ---- Record---- >> %FileName%
echo % date% %time% >> %FileName%
pause
echo "End testing"
echo %date% %time% >> %FileName%
pause
echo "The timer records "
type %FileName%
pause
echo "Start Testing"
REM Not set FileName = "Timer.txt"
REM There is not blank
set FileName=" Timer.txt"
echo ---- Record---- >> %FileName%
echo % date% %time% >> %FileName%
pause
echo "End testing"
echo %date% %time% >> %FileName%
pause
echo "The timer records "
type %FileName%
pause
--
Happy day, happy life!
No comments:
Post a Comment