Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2175

Re: Cannot get WScript.Quit to work to give user choice terminate script

$
0
0

Hello.

 

This small vbs script is working fine for me:

 

Dim Answer
Answer = inputbox ("Fillin 'q' for Quit")

if Answer = "q" then
msgbox "Quit"
Wscript.Quit
end if
msgbox "Execute Code"


Viewing all articles
Browse latest Browse all 2175

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>