I have a text file with lots of links-each line has a link (i.e the separator is \'\\n\'). i want to write a script so that each link opens in a different tab in Firefox or
If anyone is looking for how to do this in Chrome, here is the solution :
@echo off
set URL1= https://www.google.com
set URL2= https://www.youtube.com
set URL3= https://stackoverflow.com
start chrome --new-window "%URL1%" "%URL2%" "%URL3%"
Save this code as batch file and just double click.
Note that there is no space before the = sign It wasn't working for me when i tried with space