比如,我想执行一个关机过程。
以下写法没执行。是不是参数这样写不对呢。
如果我还想加个定时功能,该怎么写?
Dim pro As new Process pro.File = "C:\WINDOWS\system32\shutdown.exe" pro.Verb ="-s" pro.Start