Specialty Forums
Security and Virus
General Hardware
CPUs/Overclocking
Networking
Digital Photo/Video
Office Software
PC Gaming
Console Gaming
Programming
Database
Web Development
Digital Home

General Forums
Windows XP
Windows Vista
Windows 95/98
Windows Me
Windows NT
Windows 2000
Win Server 2008
Win Server 2003
Windows 3.1
Linux
PDAs
BeOS
Novell Netware
OpenVMS
Solaris
Disk Op. System
Unix
Mac
OS/2

Drivers
Driver Scan
Driver Forum

Software
Automatic Updates

BIOS Updates

My Computing.Net

Solution Center

Free IT eBook

Howtos

Site Search

Message Find

RSS Feeds

Install Guides

Data Recovery

About

Home
Reply to Message Icon Go to Main Page Icon

Executing an Internet Link

Original Message
Name: Denso_Boi
Date: January 4, 2008 at 03:47:15 Pacific
Subject: Executing an Internet Link
OS: Windows Vista
CPU/Ram: AMD 2gig
Model/Manufacturer: Asus
Comment:
Okay i'm trying to write a program that will show up as menu's and then from there i want it to load a series of Internet links at the same time once a choice as been choosen.

Code

@echo off
:menu
c:
cd\GameSites
cls
echo DIABLO GUILD WARS TOP SITES
echo ===========================
echo.
echo 1 - Diablo Top Sites
echo 2 - Guildwars Top Sites
echo 3 - Both All Top Sites
echo.
echo Q - Quit
choice /c:123Q>nul
if errorlevel 5 goto done
if errorlevel 4 goto menu
if errorlevel 1 goto Run Guildwars Top Sites
echo CHOICE missing
goto menu

:xtremetop100
c:\Windows\iexplore.exe "http:\\www.xtremetop100.com/in.php?site=1132200882"
xtremetop100
goto menu

:done



Report Offensive Message For Removal


Response Number 1
Name: Mechanix2Go
Date: January 4, 2008 at 04:19:18 Pacific
Subject: Executing an Internet Link
Reply: (edit)
What's the question?


=====================================
If at first you don't succeed, you're about average.

M2



Report Offensive Follow Up For Removal

Response Number 2
Name: Denso_Boi
Date: January 5, 2008 at 00:07:33 Pacific
Subject: Executing an Internet Link
Reply: (edit)
The question is, i need to do know how to launch interent links from the batch program. This is what i have atm, however it wont respond and launch anything.

Report Offensive Follow Up For Removal

Response Number 3
Name: Mechanix2Go
Date: January 5, 2008 at 00:26:09 Pacific
Subject: Executing an Internet Link
Reply: (edit)
:: menu & start link

@echo off
setLocal EnableDelayedExpansion

cls
echo 1 Golden Triangle
echo 2 gold price
echo 3 quit

choice /n /c123

goto !errorlevel!

:1
start http://golden-triangle.com
goto :eof

:2
start http://www.kitco.com/charts/popup/a...
goto :eof

:3



=====================================
If at first you don't succeed, you're about average.

M2



Report Offensive Follow Up For Removal

Response Number 4
Name: Denso_Boi
Date: January 5, 2008 at 05:57:52 Pacific
Subject: Executing an Internet Link
Reply: (edit)
How would i run multiple website links at the same time. Also thanks for help so far much appreciated

Report Offensive Follow Up For Removal

Response Number 5
Name: Denso_Boi
Date: January 5, 2008 at 06:58:33 Pacific
Subject: Executing an Internet Link
Reply: (edit)
Nevermind i have figured it out however i have another question. Because of the menu system i have more then 9 choices, how do i allow more then 9 choices. I was thinking of changing it from Numbers to letters but all i get is a computer beep. Thanks

Report Offensive Follow Up For Removal


Response Number 6
Name: Mechanix2Go
Date: January 5, 2008 at 23:39:23 Pacific
Subject: Executing an Internet Link
Reply: (edit)
choice /c:abcdefghijklmnopqrstuvwxyz



=====================================
If at first you don't succeed, you're about average.

M2



Report Offensive Follow Up For Removal

Response Number 7
Name: Denso_Boi
Date: January 6, 2008 at 01:14:34 Pacific
Subject: Executing an Internet Link
Reply: (edit)
I tried that but i get nothing.. in the errorlevel do i put the letters or keep it numbers

Report Offensive Follow Up For Removal

Response Number 8
Name: Mechanix2Go
Date: January 6, 2008 at 01:41:33 Pacific
Subject: Executing an Internet Link
Reply: (edit)
keep it numbers


=====================================
If at first you don't succeed, you're about average.

M2



Report Offensive Follow Up For Removal

Response Number 9
Name: Denso_Boi
Date: January 7, 2008 at 06:39:55 Pacific
Subject: Executing an Internet Link
Reply: (edit)
Still doesnt work.. heres the code

@echo off
:menu
c:
cd\GameSites
cls
echo DIABLO TOP SITES
echo ================
echo.
echo A - xtremetop100
echo B - gamesites200.com
echo C - extreme-gamerz.org
echo D - moddb.com
echo E - topgamesites.net
echo F - gamesitestop100.com
echo G - gtop100.com
echo H - jagtoplist.com
echo I - gamesites100.net
echo.
echo GUILDWARS TOP SITES
echo ===================
echo.
echo J - xtremetop100.com
echo K - gamesites200.com
echo L - guildwars.extreme-gamerz.org
echo.
echo Q - Quit
choice /c:ABCDEFGHIJKLQ>NUL
if errorlevel 12 goto :done
if errorlevel 11 goto :menu
if errorlevel 10 goto :menu
if errorlevel 9 goto :menu
if errorlevel 8 goto :menu
if errorlevel 7 goto :menu
if errorlevel 6 goto :menu
if errorlevel 5 goto :menu
if errorlevel 4 goto :menu
if errorlevel 3 goto :menu
if errorlevel 2 goto :menu
if errorlevel 1 goto :menu
echo CHOICE missing
goto :eof

:xtremetop100
start http://www.xtremetop100.com/in.php?...
goto :menu

:Quit
exit


Report Offensive Follow Up For Removal

Response Number 10
Name: Denso_Boi
Date: January 7, 2008 at 21:30:22 Pacific
Subject: Executing an Internet Link
Reply: (edit)
Nvm.. Got it working.. Thanks For helping.. much appreciated

Report Offensive Follow Up For Removal



Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Executing an Internet Link

Comments:

 
  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 


Data Recovery Software




how to setup call of duty to joytok

WindowsME / HotMail Problem

Corrupt memory

Convert fat32 to Ntfs

Best WinMo phone of 2008


The information on Computing.Net is the opinions of its users. Such opinions may not be accurate and they are to be used at your own risk. Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE

All content ©1996-2007 Computing.Net, LLC