文件夹的完全限定路径

时间:2017-01-24 20:04:50

标签: windows vb6 windows-10 junction fso

使用此代码

Dim fo As Scripting.Folder
Set fo = fso.GetFolder(m_sFolder)

Dim nSubfolder As Scripting.Folder

For Each nSubfolder In fo.SubFolders

    Debug.Print "Folder " & fo.Path & " has subfolder " & nSubfolder 

Next

...我得到文件夹名称" C:\ Users \ MyUser \ Documents \ Eigene Bilder"

此文件夹不存在,似乎是一个JUNCTION。

如何获取此文件夹的完全限定名称?

0 个答案:

没有答案