I'm wondering if there is a variable in Firefox, Internet Explorer and Google Chrome, etc which contains the location of the bookmarks?


Solution 1:

For IE you want to call SHGetKnownFolderPath() with FOLDERID_Favorites.

For Mozilla you can use the Directory Service and ask for "Favs". This may vary depending on your OS. See the linked header file for details.

For Chrome, see this.