How do I get a reference to a folder object which is the top folder of a network drive with no local mapping? For instance with local drives the following code would get me the top folder of the c drive:
Dim FSO As New FileSystemObject
Dim FolderRef As Folder
Set FolderRef = FSO.GetFolder("c:\"
I had thought that the same would work for a network drive:
Set FolderRef = FSO.GetFolder("\\networkfolder"
but it doesn't. However you can get network sub-folders doing:
Set FolderRef = FSO.GetFolder("\\networkfolder\subfolder\"
What's the story here? why are network servers treated differently?
-Venkman
Dim FSO As New FileSystemObject
Dim FolderRef As Folder
Set FolderRef = FSO.GetFolder("c:\"
I had thought that the same would work for a network drive:
Set FolderRef = FSO.GetFolder("\\networkfolder"
but it doesn't. However you can get network sub-folders doing:
Set FolderRef = FSO.GetFolder("\\networkfolder\subfolder\"
What's the story here? why are network servers treated differently?
-Venkman