Google
 

Tuesday, March 06, 2007

Write Windows Command script


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


--
Happy day, happy life!

No comments: