Skip to content

Instantly share code, notes, and snippets.

@crispincornett
Created September 6, 2017 18:36
Show Gist options
  • Save crispincornett/752b8c78a2af2230d9dcb484f1560da0 to your computer and use it in GitHub Desktop.
Save crispincornett/752b8c78a2af2230d9dcb484f1560da0 to your computer and use it in GitHub Desktop.
IWS Buttons
' Stop command
Dim cmd
cmd = "CMD /C call """ + $GetAppPath() + "restart_w3.vbs"" stop"
$WinExec( cmd, 0, 0)
' Start command
Dim cmd
cmd = "CMD /C call """ + $GetAppPath() + "restart_w3.vbs"" start"
$WinExec( cmd, 0, 0)
' Restart command
Dim cmd
cmd = "CMD /C call """ + $GetAppPath() + "restart_w3.vbs"" restart"
$WinExec( cmd, 0, 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment