System.Windows.Forms.Application.LocalUserAppDataPath is one I know of.
But it gives a very weird path, the path is appended with the
application version. So different versions of the application would have
different paths

-----Original Message-----
From: Jan Dropczynski [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 07, 2002 10:12 AM
To: [EMAIL PROTECTED]
Subject: [DOTNET] Finding out User's Home Dir


Hi all,
how can I find out the user's home directory in C#?
I have a win application that stores a config file
that should be placed in user's home directory.
Is there a static method or so that delivers me
the directory path?

Thanks and Regards,

Jan Dropczynski
Software-Engineer
THONA Consulting Ltd.


You can read messages from the DOTNET archive, unsubscribe from DOTNET,
or subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to