With Firefox you can create a new profile from the command line
firefox -CreateProfile JoelUser
However I have found that this only works when Firefox is closed. If Firefox is open the command merely opens a new window, and does nothing more.
I can work around this by manually creating the folder and editing profiles.ini
, but should it work from the command line as well?