AppREPACK
All about Application Packaging, Virtualization and Deployment
Pages
Home
AppREPACK
Showing posts with label
command to reboot system
.
Show all posts
Showing posts with label
command to reboot system
.
Show all posts
Monday, 16 July 2012
Reboot System - VBScript
set sh=createobject("wscript.shell")
set fso=createobject("scripting.filesystemobject")
Dim a
a=MsgBox("Do you want to Reboot your system",4,"Application Name")
If a=6 Then
MsgBox "yes was clicked"
sh.Run "shutdown -r"
End if
Older Posts
Home
Subscribe to:
Posts (Atom)