Get the App
SLTechnology News&Howtos  ›  Development  › 

How to restart the computer with vbs

Shulou Source: shulou.com Published: 2022-06-03 08:39:21 11月15日 Update

This article mainly shows you "how to restart the computer vbs", the content is simple and easy to understand, organized clearly, I hope to help you solve doubts, let Xiaobian lead you to study and learn "how to restart the computer vbs" this article bar.

Dim return Set R = CreateObject("WScript.Shell") return=MsgBox ("Are you sure you want to restart your computer? ",vbokcancel+ vbClamation," Attention! ") If return=vbok Then R.run ("Shutdown.exe -r -t 0") End if above is"vbs how to achieve computer restart "All the contents of this article, thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!

Tags: Computers content articles learning help easy to understand more organization knowledge editing industry information information channels channels research Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Docker MariaDB Shulou Tech Info Apple