Jump to content

Recommended Posts

Posted

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

Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...