itgeek Posted August 16, 2013 Posted August 16, 2013 Ji I have created a .bat file and want to add a pop up msg box asking the user a prompt to run or cancel. I can only get this to show ok? Does anybody know how to add a cancel to this? echo msgbox"Click Continue t or Cancel">a.vbs &a.vbs start Thanks
Arthur Posted August 16, 2013 Posted August 16, 2013 This should do it (although there may be a better way depending upon what you are doing)... echo msgbox "Click OK or Cancel",1 > a.vbs && wscript a.vbs
itgeek Posted August 16, 2013 Author Posted August 16, 2013 Thanks that works with the ok and cancel, but when I click cancel it does not stop the script from running. Thanks
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now