G
Guest
I am trying to get the file names using the FileSystemObject. There is a
property for ShortName but no property for LongName. When I use the .Name
property all I get his the short name. Can someone tell me from the code
snipit what I have overlooked? Many thanks in advance:
=====================================
Dim rootFolder As Scripting.Folder
Dim nod As MSComctlLib.Node
Dim fld As Scripting.Folder
Set rootFolder = fso.GetFolder(Node.FullPath & "\")
For Each fld In rootFolder.SubFolders
debug.print fld.Name
Next fld
=====================================
property for ShortName but no property for LongName. When I use the .Name
property all I get his the short name. Can someone tell me from the code
snipit what I have overlooked? Many thanks in advance:
=====================================
Dim rootFolder As Scripting.Folder
Dim nod As MSComctlLib.Node
Dim fld As Scripting.Folder
Set rootFolder = fso.GetFolder(Node.FullPath & "\")
For Each fld In rootFolder.SubFolders
debug.print fld.Name
Next fld
=====================================