My Documents

  • Thread starter Thread starter Jim Heavey
  • Start date Start date
J

Jim Heavey

How do I find the "location" of "My Documents" directory? I know that the use
can configure their machine to point to any folder, so how do I find the
folder that represents the "My Documents" folder for the user which is
currently logged on? I presume that I will have to have different logic for a
Win 95 machine, so how do I tell what operating system they are running on?


Thanks in advance for your assistance!!!!!
 
Environment.GetFolderPath(Environment.SpecialFolder.Personal)

It will return the path and take into account what operating system they are using.
 
Back
Top