昨夜今晨:摩尔线程、沐曦股份IPO已获受理 安克新增充电宝召回方案
2025-07-01
执行命令:
net time "\\OhterComputerName" /set /yes 可以保证名称为OhterComputerName 的计算机与本机时间同步。
Public Sub SyncTime()
Dim thecomp As String
Dim theshell As String
thecomp = "\\computername"
theshell = "net time " & Chr(34) & thecomp & Chr(34) & " /set /yes"
x = Shell(theshell)
End Sub
评论 {{userinfo.comments}}
{{child.content}}
{{question.question}}
提交