To reboot the pc in VBScript you can use the following snippet.
Sample VBScript
Set WSHShell = WScript.CreateObject("WScript.Shell") WshShell.Run "C:\WINDOWS\system32\shutdown.exe -r -t 0"
All the Code Snippets and Samples you need
To reboot the pc in VBScript you can use the following snippet.
Set WSHShell = WScript.CreateObject("WScript.Shell") WshShell.Run "C:\WINDOWS\system32\shutdown.exe -r -t 0"
You must be logged in to post a comment.
RT @CodeSnippetsNET: How to reboot the PC in #VBScript http://t.co/XZHiS3QWEQ #vb #dotnet #coding #programming #code #dev