為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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 回覆
  • 4 有這個問題
  • 1 次檢視
  • 最近回覆由 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.

所有回覆 (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