Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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);