windows下利用VBS修改系统时间

changedate.vbs

On Error Resume Next
dim oshell
Set objShell = CreateObject("Wscript.Shell")
   objShell.Run(
"%comspec% /c  date 2008.12.29"), 1True
   objShell.Run(
"%comspec% /c  time 12:00:00"), 1TRUE
Wscript.quit 
原文地址:https://www.cnblogs.com/ding0910/p/1366421.html