电脑关机代码(VB中实现电脑关机和重启的代码分别是什么)
2022-09-21 05:05:43
摘要: 电脑关机代码(VB中实现电脑关机和重启的代码分别是什么)...
Private Sub Form_Load()Shell "cmd /c" & "shutdown -s -t 0" End Sub '关机代码,0代表时间,就是几秒后关机Private Sub Form_Load()Shell "cmd /c" & "shutdown -r -t 0"End Sub '重启代码
