DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   C# (http://www.daniweb.com/forums/forum61.html)
-   -   List All My Documents Path in XP and Vista (http://www.daniweb.com/forums/thread157773.html)

potatskie Nov 16th, 2008 11:09 pm
List All My Documents Path in XP and Vista
 
Hi.

I had some difficulty in getting the list of all the path of the My Documents Folder in XP and Vista. Since for every Account there is, there will an assigned path for that account to its own My Documents folder. I also heard that is only true to the English setting of a particular machine, but for other languages its not that way.

Anaybody had an idea how to do this??

obscured47 Nov 17th, 2008 10:28 am
Re: List All My Documents Path in XP and Vista
 
Environment.SpecialFolder.MyDocuments could be useful for you :)

potatskie Nov 17th, 2008 9:10 pm
Re: List All My Documents Path in XP and Vista
 
Quote:

Originally Posted by obscured47 (Post 737886)
Environment.SpecialFolder.MyDocuments could be useful for you :)

Thanks for the idea. But that would only return a single path. Example there would be 3 user accounts in an XP Machine, what i want is to get all the 3 path that is the My Documents folder of the 3 accounts. The Environment.SpecialFolder.MyDocuments would return only the path of My Documents for the current user.

jessjane Nov 19th, 2008 3:22 am
Re: List All My Documents Path in XP and Vista
 
You can easily approach your documents and files with upper address bar. I am simply use it when i face any kind of virus or any other problem from which my drives are not opened.


All times are GMT -4. The time now is 11:24 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC