in reply to Re: How do you Map & Disconnect Network Drives (in Windows)?
in thread How do you Map & Disconnect Network Drives (in Windows)?

Thank you for the suggestion (and the code snippet), that would solve all sorts of problems. Unfortunately, I hit an "Access denied" issue (which is a whole other problem). It's curious though because when I "map" the drive, I have full rights.
  • Comment on Re^2: How do you Map & Disconnect Network Drives (in Windows)?

Replies are listed 'Best First'.
Re^3: How do you Map & Disconnect Network Drives (in Windows)?
by Corion (Patriarch) on Mar 26, 2008 at 13:55 UTC

    The file access runs as the current user with the permissions of the current user. If you want to do the access with the credentials of a different user, you will either have to use the impersonation APIs or map the network drive.