Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dim oShell
- Set oShell = CreateObject("WScript.Shell")
- 'restart, wait 15 seconds, force running apps to close
- oShell.Run "%comspec% /c shutdown /r /t 15 /f", , TRUE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement