favorites menu style batch? good read.
Posted: 28 Jan 2009 18:13
@echo off
color 1a
:start
echo Key:
echo.
echo --------------------------------------------------------------
echo.
echo 1 = Google
echo 2 = 3 Ethical Hackers
echo 3 = Metacafe
echo 4 = YouTube
echo 5 = Battle.net Website
echo 6 = Guitar Tabs
echo.
echo --------------------------------------------------------------
echo Press "e" to exit.
echo.
echo --------------------------------------------------------------
echo.
echo Enter the number of the website you wish to visit:
set /p input=
echo.
if %input%==1 start www.google.ca
if %input%==2 start www.3ethicalhackers.com
if %input%==3 start www.metacafe.com
if %input%==4 start www.youtube.com
if %input%==5 start www.Battle.net
if %input%==6 start www.911tabs.com
if %input%==e goto exit
cls
echo.
echo --------------------------------------------------------------
echo.
echo Press "e" to exit, "b" to select another site.
echo.
set /p input=
if %input%==e goto exit
if %input%==b goto start
echo.
:exit
echo --------------------------------------------------------------
echo.
echo you can change the sites to whatever you want. thanks for using
echo.
pause
exit
color 1a
:start
echo Key:
echo.
echo --------------------------------------------------------------
echo.
echo 1 = Google
echo 2 = 3 Ethical Hackers
echo 3 = Metacafe
echo 4 = YouTube
echo 5 = Battle.net Website
echo 6 = Guitar Tabs
echo.
echo --------------------------------------------------------------
echo Press "e" to exit.
echo.
echo --------------------------------------------------------------
echo.
echo Enter the number of the website you wish to visit:
set /p input=
echo.
if %input%==1 start www.google.ca
if %input%==2 start www.3ethicalhackers.com
if %input%==3 start www.metacafe.com
if %input%==4 start www.youtube.com
if %input%==5 start www.Battle.net
if %input%==6 start www.911tabs.com
if %input%==e goto exit
cls
echo.
echo --------------------------------------------------------------
echo.
echo Press "e" to exit, "b" to select another site.
echo.
set /p input=
if %input%==e goto exit
if %input%==b goto start
echo.
:exit
echo --------------------------------------------------------------
echo.
echo you can change the sites to whatever you want. thanks for using
echo.
pause
exit