188Views7Replies

Author Options:

Website Selector Answered

Picture of

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
COPY
  ll
  \/

@echo off
title Websites
color 0a
cls
:back
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
:1
start www.google.com
goto stuff
:2
start www.youtube.com
goto stuff
:3
start www.yahoo.com
goto stuff
:4
start www.facebook.com
goto stuff
:5
start www.twitter.com
goto stuff
:6
start www.instructables.com
goto stuff
: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
:back
goto back
:exit
goto end
:end
exit






7 Replies

user
teribithia (author)2013-01-21

You can choose the select option code to active it.

Select as Best AnswerUndo Best Answer

user
Prof. Pickle (author)2012-12-14

Hmmm... what are you two talking about?

Select as Best AnswerUndo Best Answer

user
Chad Baxter (author)2012-09-10

I can, you joined my group, what it the code so far. I know how to do this type of thing, u use the "set" and "IF" commands/args

Select as Best AnswerUndo Best Answer

user
el-xavi26 (author)Chad Baxter2012-09-10

Yes i use the SET and IF commands to do this. what about if you help me make this, it will be awesome consider to do so. We could make a lot of fun batch files together is going to be amazing!!!
note:
1-you will talk to your pc
2-dont need internet

Select as Best AnswerUndo Best Answer

user
el-xavi26 (author)2012-09-09

My Next batch file will be about chating to your pc, I know is going to take a long time to make, but at the end it will be woth it.
If you want to participate on this Chating.bat file leave a comment below saying what question should i add to the batch.!! or what type of answers
PLEASE COMMENT!

Select as Best AnswerUndo Best Answer

user
Chad Baxter (author)el-xavi262012-09-10

Oh yea and I have a computer running xp and turns out it has more CMD commands than win. 7 or 8

Select as Best AnswerUndo Best Answer

user
Chad Baxter (author)2012-09-10

Unless you are talking about a LAN chat.....

Select as Best AnswerUndo Best Answer