Board index » delphi » How can test if UNC Path exists ?

How can test if UNC Path exists ?


2004-01-06 07:25:23 AM
delphi205
Hey,
How can test if UNC Path exists or not ? (e.g. the server is down ..)
Michael
 
 

Re:How can test if UNC Path exists ?

"Michael Petersen" <XXXX@XXXXX.COM>writes
Quote
How can test if UNC Path exists or not ?
The VCL's DirectoryExists() and FileExists() functions support UNC. You
might need to call the Win32 API SetErrorMode() function beforehand to
prevent any popup dialogs from the OS in case the remote machine is not
accessible.
Gambit