batch file - How to make a .bat that will ask yes or no and if the guy clicks yes it will go to website -


hi same question above how make .bat ask yes or no , if guy clicks yes go website. hard me because i'm beginning, tried on

start www.websitehere.com  

and save .bat , works problem want ask questions first if yes or no if wants proceed.

very easy:

choice /c yn /m "start website?" if %errorlevel% equ 1 start www.websitehere.com exit 

Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -