Batch file won't open Web Page

  • Thread starter Thread starter Emory Richter
  • Start date Start date
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
 
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"
 
Back
Top