I want to launch a website with a batch file and have buttons for ok and cancel. If the user clicks on the ok button open the website and if they click on cancel nothing happens. So far I have this:
@echo off
start iexplore google.fr
I want to launch a website with a batch file and have buttons for ok and cancel. If the user clicks on the ok button open the website and if they click on cancel nothing happens. So far I have this:
@echo off
start iexplore google.fr
Try This
@ECHO OFF
:MENU
CLS
ECHO #########################
ECHO # Visit Google Homepage?#
ECHO #########################
ECHO.
ECHO.
set /P c=Visit Google Homepage ?[Y/N]?
if /I "%c%" EQU "Y" goto :VISIT
if /I "%c%" EQU "N" goto :MENU
goto :MENU
:VISIT
start iexplore google.fr
goto :MENU