ExamineDirectory() and UNC Paths (Windows) (RESOLVED)
Posted: Fri Aug 21, 2009 3:59 pm
Sorry about wasting everybody's time - I had the UNC path specified incorrectly. It all works fine.
Can anyone tell me how (if) I can use the PB FileSystem functions to examine UNC paths?
UNC paths are specified like this: \\server\folder\subfolder.
Using ExamineDirectory(0, "\\server\folder\subfolder", "*.*") doesn't work.
However, if I have a drive mapped to the UNC path folder (M for example),
Examine Directory(0, "M:\subfolder", "*.*") works fine.
This would make working with files stored on a server much easier,
if there is a way to do it.
Thanks,
Eric
Edited on 21 August 2009 (ebs)
Can anyone tell me how (if) I can use the PB FileSystem functions to examine UNC paths?
UNC paths are specified like this: \\server\folder\subfolder.
Using ExamineDirectory(0, "\\server\folder\subfolder", "*.*") doesn't work.
However, if I have a drive mapped to the UNC path folder (M for example),
Examine Directory(0, "M:\subfolder", "*.*") works fine.
This would make working with files stored on a server much easier,
if there is a way to do it.
Thanks,
Eric
Edited on 21 August 2009 (ebs)