Batch file help

Caporegime
Joined
6 Dec 2005
Posts
37,945
Location
Birmingham
I'm trying to get a batch file to open up multiple tabs in Chrome but it seems to open them in a random order each time. Is there a way to set the order in which they'll be when Chrome opens?

Also I'm trying to open a separate Chrome window but sometimes it opens one from my url list in this other window. This is what it looks like right now.

@Echo off

start chrome "url"
start chrome "url"
start chrome "url"
start chrome "url"
start chrome "url"
start /min outlook
sleep 3
start firefox "url"
sleep 2
start chrome -- new-window "url"
 
Last edited:
Try

Code:
start chrome "url" "url" "url"

Seems to work ok for multiple tabs so perhaps after that, run the new-window switch for a separate instance?
 
If you go into your settings in Chrome, under "On start-up" select "Open a specific page or set of pages" and click on "Set pages". You can add your pages in there and the top most page will be opened first with the pages towards the bottom will open up last.
 
Back
Top Bottom