Die Funktionalität dieser Website ist durch Wartungsarbeiten eingeschränkt, die Ihr Erlebnis verbessern sollen. Wenn ein Artikel Ihr Problem nicht löst und Sie eine Frage stellen möchten, können Sie unsere Gemeinschaft über @FirefoxSupport auf Twitter, /r/firefox oder Reddit fragen.

Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Weitere Informationen

Start Firefox from CMD window + passing single parameter to multiple URLs

  • 4 Antworten
  • 2 haben dieses Problem
  • 1 Aufruf
  • Letzte Antwort von SannNord

more options

I know I can open multiple tabs in Firefox from a CMD window with "Firefox.exe URL1 URL2 URL3".

What I want to do is pass a common parameter to each URL, ultimately putting all this into a simple CMD script suffixed with the common parameter. Any suggestions?

I know I can open multiple tabs in Firefox from a CMD window with "Firefox.exe URL1 URL2 URL3". What I want to do is pass a common parameter to each URL, ultimately putting all this into a simple CMD script suffixed with the common parameter. Any suggestions?

Alle Antworten (4)

more options

What language does a CMD script use??

Firefox doesn't, as far as I know, allow you to pass a single URL in two parts, so your script will need to append the parameters to the URLs.

more options

CMD = Windows command line

more options

SannNord said

CMD = Windows command line

Right, but were you limiting yourself to DOS batch file commands from the 90s, or would you use VBScript (like .vbs / .wsh), JScript, PowerShell, etc.?

Anyway, that was just curiosity. A better site for Windows scripting tips would be something like http://superuser.com/ or another http://stackexchange.com/ community.

more options

Actually, I'm looking to identify a 'common' cross-platform shell script-type solution that would be used on Windows/Linux/OSX with minimal modification. No VBS. The generic form would be

firefox.exe URL1 URL2 URL3 "argument parameters"

An example use case would be to pass a common search argument to three different search websites within a single Firefox browser session. The "argument parameters" would be directly appended to the the URL - for example, appending a single search parameter to multiple search engines simultaneously.