Reputation: 109
So my Batch file command goes as follows:
@ECHO OFF
SET link1=google.com
SET link2=google.com
SET link3=google.com
START /MAX vivaldi.exe %link1% %link2% %link3%
When I double click my .BAT file, it only opens a new vivaldi window if there isn't one currently running. If I already have a vivaldi window open it will simply just open links 1-3 in new tabs on top of the tabs I already have open(and maximize the window if it is not). I was under the impression that the START command should always open the .EXE in a new window unless the /B flag is set(which it is not)?
Upvotes: 0
Views: 871
Reputation: 1064
Replace your last line with:
START /MAX vivaldi.exe --user-data-dir=c:\temp %link1% %link2% %link3%
You could create a dedicated folder rather than use C:\temp
, and specify the full path to that instead.
Inspiration for the use of --user-data-dir
from https://superuser.com/a/457045/122072.
Upvotes: 0