0

I have My Documents folder redirected to some location on the server for a specific Active Directory user:

enter image description here

That folder is also assigned a drive letter for that user:

enter image description here

If I have an arbitrary path, say "R:\Documents\Some folder\Document1", how can I tell that it refers to a redirected location?

c00000fd
  • 20,994
  • 29
  • 177
  • 400

1 Answers1

1

The only somewhat suitable way that I found so far is to call GetDriveType and check for DRIVE_REMOTE. If anyone finds a better way, please post it here.

c00000fd
  • 20,994
  • 29
  • 177
  • 400