Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

batch file to open tabs in a NEW browser window

I need to modify batch file.

I have a batch file that opens many tabs when I click icon from desktop. These tabs are opened in my ALREADY OPENED default browser.

I would like to have a NEW WINDOW open for these tabs.

The batch file looks like this:

@echo off
start "webpage name" "http://someurl.com/"
start "webpage name" "http://someurl.com/"
start "webpage name" "http://someurl.com/"
start "webpage name" "http://someurl.com/"

What changes do I need to make

like image 698
IberoMedia Avatar asked Nov 15 '11 21:11

IberoMedia


2 Answers

Try this:

@echo off

SET BROWSER=firefox.exe
SET WAIT_TIME=2
START %BROWSER% -new-window "website"
START %BROWSER% -new-window "website"
like image 197
user3290116 Avatar answered Oct 16 '22 15:10

user3290116


This is much simpler:

start chrome.exe yahoo.com 
like image 36
dezman Avatar answered Oct 16 '22 15:10

dezman