标签: c# mount getdirectories subst
我尝试使用C#检索子驱动器(D :)的子目录列表 - DirectoryInfo.GetDirectories()但是抛出了DirectoryNotFoundException。
这对于子驱动器不起作用吗?
是否可以在我的服务器上创建/挂载文件夹作为D:驱动器(替代subst)并通过GetDirectories()访问它?