Question : DirectoryExists does not work on UNC path

Hi,

In my app I need to check if a folder exists.
DirectoryExists('\\mycomp\d$\Documents')
though the folder does exist, it always returns False.

Checking the same folder in a different way returns True.
DirectoryExists('D:\Documents')

As I'm working in a network environment I need to use the UNC-path in order to point to the correct folder on the server (and not to a local folder on the client computer)

How can this be solved?

Answer : DirectoryExists does not work on UNC path

The problem is probably in permissions. Could you open \\mycomp\d$\Documents from Start/Run ?
Random Solutions  
 
programming4us programming4us