I want to make a cmd batch file that opens 3 tabs in internet explorer window Doesnt matter to me if there is already internet explorer window open or not I have this commant, but it opens the tabs in chrome (my default browser, dont want to change it..)
START /d iexplore.exe "C:\Program Files (x86)\Internet Explorer\iexplore.exe" "http://marathon:7040/console/jsp/login/j_security_check?j_username=wc&j_password=12345"
START /d iexplore.exe "C:\Program Files (x86)\Internet Explorer\iexplore.exe" "http://sparta:7040/console/jsp/login/j_security_check?j_username=wc&j_password=12345"
START /d iexplore.exe "C:\Program Files (x86)\Internet Explorer\iexplore.exe" "http://sparta:7040/console/jsp/login/j_security_check?j_username=wc&j_password=12345"
Help please :)
This uses a hybrid batch file (save with
.cmd
extension). Tested in XP, but you will have to test in your system.Finally got it work in IE! with VB script!! save this in .vbs file:
?
/d
switch is for the starting directory (which I think is not relevant in your case).The first parameter is the title which in your case will be"C:\Program Files (x86)\Internet Explorer\iexplore.exe"
and for the link left the default program as the open program is not really pointed.I have provided some code for .bat files that should achieve the functionality you are looking for.
To use: copy the code to a Notepad window and save as MyFile.bat or some other filename ending in .bat and double-click the file to run.
To open Internet Explorer with 1 window and 3 separate tabs:
To open Internet Explorer with 1 window and 3 separate tabs (alternative):
To open Internet Explorer with 3 separate windows: