Batch file won't open Web Page

E

Emory Richter

In windows XP
all web pages will open from a batch file except:

"http://www.investor.reuters.com/ReadHTML.aspx?target=/opinion/sell%
2friskalerts"

If I paste the above URL into the browser address box the page opens
fine.

But if I try:

START "C:\Program Files\Internet Explorer\IEXPLORE.EXE"
"http://www.investor.reuters.com/ReadHTML.aspx?target=/opinion/sell%
2friskalerts"

or using the utility

START C:\windows\command\runfile "C:\Program Files\Internet Explorer
\IEXPLORE.EXE" "http://www.investor.reuters.com/ReadHTML.aspx?target=%
2fopinion%2fsell%2friskalerts"

I get an error page with URL:

http://www.investor.reuters.com/Error.aspx?go=http:/%
2fwww.investor.reuters.com%2fReadHTML.aspx%3ftarget%
3dfopinionfsellfriskalerts&error=Generic&message=The+specified+target+can
not+be+resolved.%0d%0aParameter+name%3a+Target.%0d%0aActual+value+was+%
2f%2ffopinionfsellfriskalerts.

Is there code that will open this page?

Thank you,
Emory
 
Joined
Jan 6, 2009
Messages
1
Reaction score
0
Starting a webpage

Hi, The solution is quite simple and below is an example.

Copy the following into a text document and save it as a ".bat"

Code:
start iexplore http://www.google.com

This will start google in internet explorer. There is no need for the "c:\program files\internet explorer\iexplore.exe"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top