Calling URL from .bat file

  • Thread starter Thread starter JFK
  • Start date Start date
J

JFK

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
 
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)
 
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
url=/technet/prodtechn
ol/ie/reskit/ie6/part7/z03ie6rk.asp (very bottom of page)


--
John Phillips
MVP - Windows SDK


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


.
 
Back
Top