Hello all,
I'm trying to run what I thought would be a simple batch file in WinXP, but I'm hitting a road block. Here's the situation.
I use FireFox as my main browser, but for some reason my firewall sometimes has issues when I authenticate through Firefox... so I use IE just for my authentication applet and for everything else I use FireFox. FireFox is also my default browser. I have a shortcut on my desktop for the URL of the Firewall's authentication applet. It used to be that I'd click it and IE would pop up with a screen to receive my username and password. Now however, FireFox pops up... so I have to manually load IE and then drag the url/shortcut into IE.
I thought I'd just make a simple batchfile to do that instead. I added the path to IE to my environment and created a batch file that just had the following:
iexplore http://address.and.info.for.firewall
exit
It works fine, except that the command window will not procede to the "exit" command until I close IE, at which point I'm not authenticated any longer. I can manually close the window, but that sort of defeats the elegance of having a one click solution.
If I were in linux, I'd just follow the command with an "&" and be done with it... but I know of no equivolent in the MS world. I tried messing around with some "for %%F in ()do" style commands, but it won't take the url as a parameter.
Any ideas?
Joe
I'm trying to run what I thought would be a simple batch file in WinXP, but I'm hitting a road block. Here's the situation.
I use FireFox as my main browser, but for some reason my firewall sometimes has issues when I authenticate through Firefox... so I use IE just for my authentication applet and for everything else I use FireFox. FireFox is also my default browser. I have a shortcut on my desktop for the URL of the Firewall's authentication applet. It used to be that I'd click it and IE would pop up with a screen to receive my username and password. Now however, FireFox pops up... so I have to manually load IE and then drag the url/shortcut into IE.
I thought I'd just make a simple batchfile to do that instead. I added the path to IE to my environment and created a batch file that just had the following:
iexplore http://address.and.info.for.firewall
exit
It works fine, except that the command window will not procede to the "exit" command until I close IE, at which point I'm not authenticated any longer. I can manually close the window, but that sort of defeats the elegance of having a one click solution.
If I were in linux, I'd just follow the command with an "&" and be done with it... but I know of no equivolent in the MS world. I tried messing around with some "for %%F in ()do" style commands, but it won't take the url as a parameter.
Any ideas?
Joe