批处理脚本,实现每隔一秒钟调整系统时间...
Test.bat
@echo off
:1
ping 127.0.0.1 -n 1>nul
call "C:\Users\applewu\Desktop\ChangeTime.bat"
goto 1
ChangeTime.bat
@echo off
echo ==========================
echo Before changetime ,time is:
date /t
time /t
echo ==========================
echo Changing time 2008-09-21 18:17:32
date 2008-09-21
time 18:17:32.11
echo ==========================
echo After change time ,time is:
date /t
time /t