VBS Script To Open A Web Page

 

This simple little VBS script can be used as a desktop link or shortcut to open your favorite web page.

 

VBS Script:

 

strURL = "http://myitforum.com"

Set objShell = CreateObject("Wscript.Shell")

objShell.Run(strURL)

 

 

 

Published Sunday, June 22, 2008 1:04 PM by dhite
Filed under:

Comments

# re: VBS Script To Open A Web Page

Hello Don

I found your script to open a web page as a shortcut at the following link:

myitforum.com/.../vbs-script-to-open-a-web-page.aspx

This script is interesting. However, I have the following requirement and am not suren how to do it. Here's what I want to do:

1. I have a text file containing many web links, one per line.

2. I save the text file with a name like "weblinks_date.txt".

3. I wish to have a script or an executable program that will use the text file name as a parameter, and then parse through the text file, and open each of those pages as TABS in a certain web browser. I currently have IE, K-Meleon, Opera and Firefox as browsers.

Can you help me with this?

You can write to me at nagibhai@hotmail.com

Thanks much and Best regards

Nagendra

Saturday, August 02, 2008 10:58 PM by nagis