Hello everyone I came up with this simple but very useful batch file.
Copy the Text you see below and then paste it to notepad and save it as .bat
FOR EXAMPLE===> Website Selector.bat

@echo off
title Websites
color 0a
echo now pick a website!!!
echo 1=www.google.com
echo 2=www.youtube.com
echo 3=www.yahoo.com
echo 4=www.facebook.com
echo 5=www.twitter.com
echo 6=www.instructables.com
SET /p pick=
if %pick%==1 goto 1
if %pick%==2 goto 2
if %pick%==3 goto 3
if %pick%==4 goto 4
if %pick%==5 goto 5
if %pick%==6 goto 6
start www.google.com
goto stuff
start www.youtube.com
goto stuff
start www.yahoo.com
goto stuff
start www.facebook.com
goto stuff
start www.twitter.com
goto stuff
start www.instructables.com
goto stuff
echo press 1 to go back to choosing a website or 2 to exit
SET /p go=
if %go%==1 goto back
if %go%==2 goto exit
goto back
goto end
Lol sure wokandal !!!
Nice work. May I suggest you add another option, perhaps you should let them (the users) choose what site they would want (through option 7: other). This could be accomplished by setting their preferred website address as a variable (let's call it &quot;other&quot;) and then using the code &quot;START %other%&quot;, and to check if it worked &quot;IF %ERRORLEVEL% NEQ 0 echo The website didn't open because of an error, maybe it was because you typed the address wrong.&quot; <br> <br>But other than that, nice work!
Thank you this is my first instructable i will be making the changes soon but i working in a new project that is taking very long to complete. <br> <br>PS <br>if you will like to help message me the new batch file is about talking to your computer so i will be happy if you helped me.
It would be my pleasure to help you. But, I don't really think your idea (although amiable) is going to work. Maybe through the use of VBscripts. I'll look around and see what I can find.
I've looked around and the answer is no. I couldn't find anything that is relevant. <br> <br>Making the computer speak to you on the other hand is quite easy.
So we should make something else do you have any suggestion?
I'm trying to work on a batch, text-based RPG game called &quot;Batch Quest&quot;. I could use some help if your interested but it is going to be in depth and monotonous. If your are in you can't back out half way through.
Sure I will help!! I love text-based games!
I will post you the skeleton soon and tell you what I need done.

About This Instructable




More by el-xavi26:Website selector 
Add instructable to: