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

mod rewrite - Using "?" when rewriting the URL -

.htaccess: Transfer name to index.php if not directory public -

Admob integration with pygame in android -