Help with batch file to open multiple URLs in new tabs
Well my forum friends, I'm messing around with batch files again. So, I've created a batch file to open various programs, of which are multiple webpages using IE8. . Here's what I have so far specifically for the Internet:
rem Internet
cd %windir%\system32
start /d "C:\Program Files\Internet Explorer" IEXPLORE.EXE siteA
PING 1.1.1.1 -n 1 -w 2000 >NUL
start /d "C:\Program Files\Internet Explorer" IEXPLORE.EXE siteB
The URLs have been replaced by siteA and siteB. I put the ping line in the file to slow down the process which, in my mind, would allow time for each page to open (not sure if it's really needed though). While, I know that I can just launch the first URL, then open the second in a new tab, I just want to know if and how I can open the other URL in a new tab. Also, all other programs that I've put in the batch file open and run perfectly.
Well my forum friends, I'm messing around with batch files again. So, I've created a batch file to open various programs, of which are multiple webpages using IE8. . Here's what I have so far specifically for the Internet:
rem Internet
cd %windir%\system32
start /d "C:\Program Files\Internet Explorer" IEXPLORE.EXE siteA
PING 1.1.1.1 -n 1 -w 2000 >NUL
start /d "C:\Program Files\Internet Explorer" IEXPLORE.EXE siteB
The URLs have been replaced by siteA and siteB. I put the ping line in the file to slow down the process which, in my mind, would allow time for each page to open (not sure if it's really needed though). While, I know that I can just launch the first URL, then open the second in a new tab, I just want to know if and how I can open the other URL in a new tab. Also, all other programs that I've put in the batch file open and run perfectly.
Last edited:
My Computer
- Computer type
- PC/Desktop
- Computer Manufacturer/Model Number
- Self Built
- OS
- Windows 7 Home Premium 64bit
- CPU
- AMD Phenom II X3 740
- Motherboard
- ASUS Crosshair IV Formula
- Memory
- Mushkin Enhanced Silverline
- Graphics Card(s)
- ASUS CuCore Series EAH5770 CuCore/2DI/1GD5
- Sound Card
- SupremeFX X-Fi 8-Ch audio with EAX Advanced HD 4.0 support
- Hard Drives
- Western Digital WD Black WD6402AAEX 640GB 7200 RPM SATA 6.0Gb/s 3.5"
- PSU
- Antec EarthWatts EA750 750W
- Case
- Antec Nine Hundred Two Black Steel ATX Mid Tower
- Cooling
- Scythe YASYA SCYS-1000 120mm
- Mouse
- Old as dirt Logitech, but its still kickin'
- Antivirus
- Microsoft Security Essentials and Malware Bytes
- Browser
- Google Chrome, IE10, and Firefox