Starting Multiple Firefox Profiles with Batch File in Linux

Starting multiple firefox profiles with batch file in linux

You need to run them in the background by adding an

  & 

to the end of the commands

Multiple profiles in firefox using one sync account

Sorry, Firefox always links 1 profile to 1 sync account.

I would recommend you to create a second Firefox profile and use one for work and one for private use. This would also clearly separate data like history, ... which you don't sync.

See here for instructions:

Batch Script / CMD [ open two different links both in different google chrome profiles ]

For Any One With The Same Problem . . .

This Code Below Work !

Just be sure to change the Google Installation Location according to your computer. And change the link to anything you want to use. Also don't forget to set the correct Google Profile profile name . . .

START "" "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" https://www.anycustomlink.com --profile-directory="Profile_name"

The Code Below Will Open YouTube With The Third Google Chrome Profile !

START "" "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" https://www.youtube.com --profile-directory="Profile 3"

Thanks A Lot Again @ArraffaFile

Is there a way to force Firefox to launch in a new process?

If you have a second profile (like 'sidekick'), the following will launch a new Firefox process:

firefox.exe -no-remote -p sidekick

However, if that profile is already used by a current Firefox session, that will not work.

To create a new profile launch Firefox from the command line with the -P flag and create it.

firefox.exe -P

The OP ykaganovich adds in the comments (in Oct. 2020, three years later):

recent versions of Firefox (as of 2020) also have profile management UI available at about:profiles

Start Firefox from a batch file

This should do:

@echo off
start "" "C:\Program Files\Mozilla Firefox\firefox.exe"
echo Firefox have started.
...Do something else here...
pause

If you want to be a little fancier, echo to a cscript which will popup a windows, where you have to click Ok, before the batch file will continue to the next command.

@echo off
echo Set objArgs = WScript.Arguments > DisplayMsg.vbs
echo messageText = objArgs(0) >> DisplayMsg.vbs
echo MsgBox messageText >> DisplayMsg.vbs

start "" "C:\Program Files\Mozilla Firefox\firefox.exe"
timeout /t 3
cscript DisplayMsg.vbs "Firefox has Started successfully!"

...Do something else here...
pause

for more on the actual starting of firefox, do start /? from commandline for help. You have however used @ before your commands, which actually turns echo off.

R Session on Linux - submit multiple batch jobs pointing to same session

I'm not sure what your end goal is, but have you considered something like the futures package that will allow R to send work off to another thread to be completed? That way the work can be done but doesn't lock up the main R session while the work is being completed. This way, via the main R session, you could launch job1 and then while that was still being worked on, launch job2.



Related Topics



Leave a reply



Submit