On Wed, 7 Jun 2006, Arí Ricardo Ody wrote:

The command "if DirectoryExists ('\\Japi1\bradesco\Publico\Conversão COOLGEN\Acompanhamento\LOG')" returns false, although the network directory "\\Japi1\bradesco\Publico\Conversão COOLGEN\Acompanhamento\LOG" exists.

Text property of a TDirectoryEdit accepts '\\Japi1\bradesco\Publico\Conversão COOLGEN\Acompanhamento\LOG' normally and I move it to string and write into a text file. When I read the text file, if DirectoryExists returns false...

Am I wrong in some procedure? Is there a way of discover if a network path exists ?

I tested this and it works fine here.

Both on a share with a drive letter assigned to it,
and a share without drive letter assigned to it.

Maybe the user does not have permission to access the drive ?

Michael.

Reply via email to