This is the script: x = MsgBox("Run WPI Layer 2 Now?",4,"Windows Post Installer Layer 2") If x = "6" Then Return = WshShell.Run ("C:\ImgSW\wpi\WPI.exe options=useroptions_layer2.js config=config_layer2.js",1,TRUE) ElseIf x = "7" Then x = MsgBox("Shutdown this server?",4,"Shutdown") If x = "6" Then Return = WshShell.Run ("CMD /c shutdown /s /t 15",1,FALSE) End If End If Wscript.Quit I would like WPI to run this script, and then exit. I can get around it by using a batch script, but it is ugly and I would really prefer not to do it that way.