This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

To point Firefox to a different folder for bookmarks.html do I use double \\ in the User.js string?

more options

That's what I conclude from the mozillaZine write up "User.js file." If so, the string is:

user_pref("browser.bookmarks.file", "C:\\Users\\Owner\\Dropbox\\Firefox\\bookmarks.html");

Is the double \\ path separator correct?

When I look at other files in about:config where the pref value is a folder path all that shows is a single \ not a double \\.

And yes, I have backed up prefs.js and bookmarks.html.

Thanks very much in advance for your time and attention to my question.

That's what I conclude from the mozillaZine write up "User.js file." If so, the string is: user_pref("browser.bookmarks.file", "C:\\Users\\Owner\\Dropbox\\Firefox\\bookmarks.html"); Is the double \\ path separator correct? When I look at other files in about:config where the pref value is a folder path all that shows is a single \ not a double \\. And yes, I have backed up prefs.js and bookmarks.html. Thanks very much in advance for your time and attention to my question.

All Replies (1)

more options

That is the convention used for the the user.js file.

You also need to turn the backup of bookmarks to the bookmarks.html file.

// backup to bookmarks.html file upon closing Firefox:
user_pref("browser.bookmarks.autoExportHTML", true);