看看如下代码,猜3个时间差如何?
运行如下代码,3个时间差又是怎样结果?- @echo off
- echo %time%
- for /l %%i in (1,1,1000) do (
- echo a>>t
- echo b>>t
- echo c>>t
- )
- echo %time%
- for /l %%i in (1,1,1000) do (
- echo a>>t.txt
- echo b>>t.txt
- echo c>>t.txt
- )
- echo %time%
- for /l %%i in (1,1,1000) do (
- echo a>>t.dll
- echo b>>t.dll
- echo c>>t.dll
- )
- echo %time%
- pause
复制代码 请测试后查看,已下设置为白色了。
XP SP3 结果:
10:38:31.84
10:38:51.89
10:38:52.23
10:39:12.87
不知道是不是我个人电脑的问题。。。很郁闷。 |