分类: WINDOWS
2010-07-13 23:21:29
@echo off rem 测试程序的运行时间 echo "开始时间:" > test.txt set sTime=%time%
echo %stime% >> test.txt rem start "软件启动中..." /wait %1 for /l %%a in (1,1,100) do ( rem 拷贝目录及文件 xcopy soufile desfile /s /q/Y /i >null rem 等待1秒钟 ping -n 2 127.0.0.1>null ) echo "结束时间:" >>test.txt
set sTime=%time% echo %stime% >>test.txt rem 打开记事本 start test.txt |