subst drive - DirectoryNotFoundException

593 views Asked by At

I'm trying retrieve the sub directory list of a subst drive (D:) using C# - DirectoryInfo.GetDirectories() but a DirectoryNotFoundException is thrown.

Does this not work with subst drives?

Is it possible to create/mount a folder on my server as the D: drive (alternative to subst) and access it via GetDirectories()?

0

There are 0 answers