Answered by:
Special Folder Enum

Question
-
Requirement:
Need to display all files and folders, which is visible (terms of permission) to the current user in a Tree. This includes Desktop, Favourites, special folders like, my documents, my pictures. How can I get these folders locations for current user?
Problem.
When I used DirectoryInfo object filled GetDirectories() gives me error each time it hits a folder, which I don’t have access. I could catch it, and exclude those ones. Now problem is folders like Documents and Settings also skipped. Which I don’t want to happen. Some how I want to display all possible user specific folders.
If somebody can tell me, where I can find bookmarks for Chrome , Netscape, Opera and Fire fox it would be great.
Thanks Mike --------Please mark as answer if it is useful----------Thursday, March 18, 2010 4:04 PM
Answers
-
Google Chrome Bookmarks
C:\Documents and Settings\User Name\Local Settings\Application Data\Chromium\User Data\Default
Opera
HotList File Ver2=C:\Program Files\Opera\opera3.adr
line in opera.ini (default location c:\windows\opera.ini)C:\Documents and Settings\[Windows Login Name]\Application Data\Mozilla\Profiles\PROFILE_NAME\[random string].slt\
Firefox
Documents and Settings\YourUsername\Application Data\Mozilla\Firefox\Profiles\default.XXX
Thanks Mike --------Please mark as answer if it is useful----------- Marked as answer by Mike_999 Tuesday, March 23, 2010 10:01 AM
Tuesday, March 23, 2010 9:55 AM
All replies
-
-
Thats great!. Any idea, where i can find registred icons for these folder type, like mydocument, mypictures
Thanks Mike --------Please mark as answer if it is useful----------Thursday, March 18, 2010 4:26 PM -
Google Chrome Bookmarks
C:\Documents and Settings\User Name\Local Settings\Application Data\Chromium\User Data\Default
Opera
HotList File Ver2=C:\Program Files\Opera\opera3.adr
line in opera.ini (default location c:\windows\opera.ini)C:\Documents and Settings\[Windows Login Name]\Application Data\Mozilla\Profiles\PROFILE_NAME\[random string].slt\
Firefox
Documents and Settings\YourUsername\Application Data\Mozilla\Firefox\Profiles\default.XXX
Thanks Mike --------Please mark as answer if it is useful----------- Marked as answer by Mike_999 Tuesday, March 23, 2010 10:01 AM
Tuesday, March 23, 2010 9:55 AM