Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

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 ответа
  • 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