PC Review


Reply
Thread Tools Rate Thread

Calling URL from .bat file

 
 
JFK
Guest
Posts: n/a
 
      30th Jan 2004
I have a batch file that modifies a registry setting, then
calls a URL. This works but the IE Window for the URL is
in the background. Does anyone know how I can get this to
pop up as a new window in the foreground?
Thanks,
JFK

 
Reply With Quote
 
 
 
 
John Phillips
Guest
Posts: n/a
 
      30th Jan 2004
AFAIK, you can't do this from a plain batch file - WSH maybe. A proper
application, definately.

Try the "-new" command-line parameter ([1] and [2]). I can't duplicate your
problem (running IE from a batch file on my system pops the window to the
front), so I can't say how well this might work for you.

[1]: http://support.microsoft.com/default...;en-us;q178058
[2]:
http://www.microsoft.com/technet/tre...hnet/prodtechn
ol/ie/reskit/ie6/part7/z03ie6rk.asp (very bottom of page)


--
John Phillips
MVP - Windows SDK


"JFK" <(E-Mail Removed)> wrote in message
news:78e801c3e759$46fe4380$(E-Mail Removed)...
> I have a batch file that modifies a registry setting, then
> calls a URL. This works but the IE Window for the URL is
> in the background. Does anyone know how I can get this to
> pop up as a new window in the foreground?
> Thanks,
> JFK
>



 
Reply With Quote
 
JFK
Guest
Posts: n/a
 
      30th Jan 2004
Thanks for trying John
The -new parameter does the same thing.
I am not actually activitating IE, I am just referencing a
file with a .URL extension and it starts up IE through an
association.
JFK
>-----Original Message-----
>AFAIK, you can't do this from a plain batch file - WSH

maybe. A proper
>application, definately.
>
>Try the "-new" command-line parameter ([1] and [2]). I

can't duplicate your
>problem (running IE from a batch file on my system pops

the window to the
>front), so I can't say how well this might work for you.
>
>[1]: http://support.microsoft.com/default.aspx?scid=KB;en-

us;q178058
>[2]:
>http://www.microsoft.com/technet/treeview/default.asp

url=/technet/prodtechn
>ol/ie/reskit/ie6/part7/z03ie6rk.asp (very bottom of page)
>
>
>--
>John Phillips
>MVP - Windows SDK
>
>
>"JFK" <(E-Mail Removed)> wrote in

message
>news:78e801c3e759$46fe4380$(E-Mail Removed)...
>> I have a batch file that modifies a registry setting,

then
>> calls a URL. This works but the IE Window for the URL is
>> in the background. Does anyone know how I can get this

to
>> pop up as a new window in the foreground?
>> Thanks,
>> JFK
>>

>
>
>.
>

 
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
batch file calling exe file problem JPS Windows Vista Security 1 20th Dec 2007 01:18 AM
Calling FileStream.Create after File.Move gets old file handle =?Utf-8?B?QyMgRGV2?= Microsoft Dot NET Framework 4 13th Jul 2006 12:28 PM
calling cpp file from c# Ohad Microsoft C# .NET 2 5th Jan 2005 12:04 PM
Re: Calling an exe file from FP JL Amerson Microsoft Frontpage 0 16th Mar 2004 04:32 PM
Re: Calling an exe file from FP Steve Easton Microsoft Frontpage 0 16th Mar 2004 04:30 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:41 PM.