Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

using .bat file to start firefox multiple tabs new problem with ver 4, receive message cannot find the referenced argument "http://www.site.com" for first start command but remainder work fine.

  • 3 replies
  • 4 have this problem
  • 1 view
  • Last reply by Gunwantk

more options

I like to start session with multiple tabs using lines in a .bat file:

start "C:\Program Files\Mozilla Firefox\firefox.exe" "http://www.cnn.com"

start "C:\Program Files\Mozilla Firefox\firefox.exe" "http://www.foxnews.com"

"C:\Program Files\Mozilla Firefox\firefox.exe" "http://www.bbc.co.uk/news/"

BUT, receive popup message that Windows cannot find the first argument listed, the "http://www.cnn.com" yet firefox does open the web page after I respond to the popup message to dismiss it. Ver 3 of Firefox did work just fine, but Ver 4 does not work as cleanly.

I like to start session with multiple tabs using lines in a .bat file: start "C:\Program Files\Mozilla Firefox\firefox.exe" "http://www.cnn.com" start "C:\Program Files\Mozilla Firefox\firefox.exe" "http://www.foxnews.com" "C:\Program Files\Mozilla Firefox\firefox.exe" "http://www.bbc.co.uk/news/" BUT, receive popup message that Windows cannot find the first argument listed, the "http://www.cnn.com" yet firefox does open the web page after I respond to the popup message to dismiss it. Ver 3 of Firefox did work just fine, but Ver 4 does not work as cleanly.

All Replies (3)

more options

Use this code (all on one line)

start "" "C:\Program Files\Mozilla Firefox\firefox.exe" -new-tab http://www.cnn.com -new-tab http://www.foxnews.com -new-tab http://www.bbc.co.uk/news

https://developer.mozilla.org/en/Command_Line_Options

more options

Got this message out of Outlook after clicking on the link contained in the message informing me of a reply posted to the question. It appears that Firefox may be taking too long to come up in terms of Windows XP PRO SP3 expectations. The link does come up successfully in Firefox. Suspect that there is a glitch in Windows itself - no surprise here.


Microsoft Office Outlook

General failure. The URL was: "https://support.mozilla.com/questions/799566#answer-154023". The system cannot find the file specified.

more options

You can also do it this way

@ECHO OFF

START FIREFOX.EXE WWW.GOOGLE.COM WWW.FACEBOOK.COM

Just simply leave a space between each web address.

Since there is no spaces in the url's there is no need for the