Bat. file that open multiple url windows with firefox

后端 未结 2 1588
离开以前
离开以前 2021-01-26 19:27

How to write bat file that open more than one URL in new windows in firefox? In chrome -new-window command works but what is the command in firefox?

相关标签:
2条回答
  • 2021-01-26 19:49

    Give a try for this sample :

    @echo off
    Set URL="www.google.com www.stackoverflow.com www.yahoo.com www.facebook.com www.twitter.com"
    set NewTab=-new-tab
    set NewWindow=-new-window
    For %%a in (%URL%) Do (Start /d "%programfiles%\Mozilla Firefox" Firefox.exe %Newtab% "%%a")
    For %%b in (%URL%) Do (Start /d "%programfiles%\Mozilla Firefox" Firefox.exe %NewWindow% "%%b")
    
    0 讨论(0)
  • 2021-01-26 20:09

    As I know you can just list multiple URLs, separated by spaces. Firefox will open them as tabs in a new window.

    0 讨论(0)
提交回复
热议问题