471,305 Members | 1,148 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,305 software developers and data experts.

How to determine "My Documents" path for user with roaming profile

I need to identify the path to a users "My Document" folder where the
user has a roaming profile and their "My Documents" folder is mapped to
a network share as the H drive (specifically H:\\ - where the "My
Received Files" folder path then is H:\\My Refeceived Files. The double
\\ is not an escape character as subfolders only have sinvle "\" when I
am doing some investigation of paths in code).

It appears that the code, below, that I have tried to date, can only
deal with a local "My Documents" folder location and not one on a
network share.

"Environment.GetFolderPath(Environment.SpecialFold er.Personal)"

Can someone help me in how to identify the path on the mapped drive or
the full UNC.

Thanks

Grant

Jul 21 '05 #1
0 2293

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Jeremy | last post: by
10 posts views Thread by Bishoy | last post: by
8 posts views Thread by Scott M. | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.