Thursday, July 19, 2007

Finding the My Documents Directory in Windows Mobile (or the Desktop)

You can find the \My Documents directory on a Windows Mobile device by saying:

path = System.Environment.GetFolderPath(Environment.SpecialFolder.Personal)


GetFolderPath also works on the desktop.


For More Info:

http://msdn2.microsoft.com/en-us/library/system.environment.getfolderpath.aspx

http://blogs.msdn.com/windowsmobile/archive/2006/07/26/678742.aspx

No comments: