List All My Documents Path in XP and Vista

Please support our C# advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
Reply

Join Date: Oct 2008
Posts: 5
Reputation: potatskie is an unknown quantity at this point 
Solved Threads: 0
potatskie potatskie is offline Offline
Newbie Poster

List All My Documents Path in XP and Vista

 
0
  #1
Nov 16th, 2008
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??
Reply With Quote Quick reply to this message  
Join Date: Apr 2007
Posts: 24
Reputation: obscured47 is an unknown quantity at this point 
Solved Threads: 0
obscured47 obscured47 is offline Offline
Newbie Poster

Re: List All My Documents Path in XP and Vista

 
0
  #2
Nov 17th, 2008
Environment.SpecialFolder.MyDocuments could be useful for you
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 5
Reputation: potatskie is an unknown quantity at this point 
Solved Threads: 0
potatskie potatskie is offline Offline
Newbie Poster

Re: List All My Documents Path in XP and Vista

 
0
  #3
Nov 17th, 2008
Originally Posted by obscured47 View Post
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.
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 1
Reputation: jessjane is an unknown quantity at this point 
Solved Threads: 0
jessjane jessjane is offline Offline
Newbie Poster

Re: List All My Documents Path in XP and Vista

 
0
  #4
Nov 19th, 2008
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.
Last edited by jessjane; Nov 19th, 2008 at 3:27 am.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C# Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC