![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
How do you delete a profile using commandline
How do I use commandline to remove a profile. I know how to do it via the profile manager but need to automate it via commandline
Избрано решение
You can only create a profile using the command line, you can't remove a profile including files. Since removing a profile involves updating profiles.ini and possibly removing files in two locations (AppData\Roaming and AppData\Local) you will likely have to use the Profile Manager to remove a profile easily and properly. You can either use the Profile Manager or use the about:profiles page to manage profiles.
Прочетете този отговор в контекста 👍 0Всички отговори (5)
See if this is what your looking for : https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options
Please let us know if this solved your issue or if need further assistance.
There seems to be no option to delete profile in https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options
Maybe this one then (sorry do not have time o read them all) http://kb.mozillazine.org/Bypassing_the_Profile_Manager
Please let us know if this solved your issue or if need further assistance.
Избрано решение
You can only create a profile using the command line, you can't remove a profile including files. Since removing a profile involves updating profiles.ini and possibly removing files in two locations (AppData\Roaming and AppData\Local) you will likely have to use the Profile Manager to remove a profile easily and properly. You can either use the Profile Manager or use the about:profiles page to manage profiles.
I found removing the files worked fine and recreating it with -CreateProfile option worked