PC Review


Reply
Thread Tools Rate Thread

Batch file won't open Web Page

 
 
Emory Richter
Guest
Posts: n/a
 
      21st Jan 2006
In windows XP
all web pages will open from a batch file except:

"http://www.investor.reuters.com/ReadHTML.aspx?target=%2fopinion%2fsell%
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=%2fopinion%2fsell%
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/Erro...go=http%3a%2f%
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
 
Reply With Quote
 
 
 
 
foxidrive
Guest
Posts: n/a
 
      21st Jan 2006
On Sat, 21 Jan 2006 10:51:15 -0500, Emory Richter wrote:

> In windows XP
> all web pages will open from a batch file except:
>
> "http://www.investor.reuters.com/ReadHTML.aspx?target=%2fopinion%2fsell%
> 2friskalerts"


Double up all percent signs. %20 = %%20 for example.

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

 
Reply With Quote
 
Emory Richter
Guest
Posts: n/a
 
      21st Jan 2006
In article <1qo9e34axj16p$.axe71iohxjou$.(E-Mail Removed)>,
(E-Mail Removed)lid says...
> Double up all percent signs. %20 = %%20 for example.
>

Yes!
foxidrive, thanks for the answer.
Emory
 
Reply With Quote
 
Michael Bednarek
Guest
Posts: n/a
 
      22nd Jan 2006
On Sun, 22 Jan 2006 02:58:23 +1100, foxidrive wrote in
microsoft.public.win2000.cmdprompt.admin:

>On Sat, 21 Jan 2006 10:51:15 -0500, Emory Richter wrote:
>
>> In windows XP
>> all web pages will open from a batch file except:
>>
>> "http://www.investor.reuters.com/ReadHTML.aspx?target=%2fopinion%2fsell%
>> 2friskalerts"

>
>Double up all percent signs. %20 = %%20 for example.


.... or replace all occurrences of %2f (=47 dec) with "/".

--
Michael Bednarek http://mbednarek.com/ "POST NO BILLS"
 
Reply With Quote
 
New Member
Join Date: Sep 2007
Posts: 1
 
      19th Sep 2007
I have the same problem with this side. The Batch opens only the google side but not the search results when i search for dogs or something else.


http://www.google.de/search?hl=de&q=dogs&meta=

Is there code that will open this page?

Thank you,
Dierk
 
Reply With Quote
 
New Member
Join Date: Jan 2009
Posts: 1
 
      6th Jan 2009
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"
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't open batch file =?Utf-8?B?cmlja3kyNTI1MjU=?= Windows XP Help 0 21st Dec 2005 08:53 PM
Batch file to open secure file /wrkgrp switch won't work =?Utf-8?B?bWVsZHJhcGU=?= Microsoft Access 3 12th Dec 2005 07:05 PM
Running a batch file from an ASP.Net page. UJ Microsoft ASP .NET 1 23rd Sep 2005 08:51 PM
Open Excel with batch file MrsSoto Microsoft Excel Misc 5 11th May 2004 12:07 AM
Please help. Run batch file on server from asp.net page Paul Microsoft ASP .NET 2 12th Mar 2004 09:37 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:20 PM.