FUNCTION CheckForDrive LOCAL lcMyComputer, llOK, lnResult, lcFile, lcDrive lcDrive = "\\SomeServer\SomeDir\" Declare Integer CopyFile In Win32Api String, String, Integer Declare Integer DeleteFile In Win32Api String lcMyComputer = ALLTRIM(SUBSTR(SYS(0), 1, AT( '#', SYS(0) ) -1)) lcFile = ADDBS(SYS(2023)) + lcMyComputer + ".Tmp" StrToFile("Test", lcFile) lnResult = CopyFile( lcFile, lcDrive + lcMyComputer + ".Tmp" ,0 ) IF lnResult # 0 =DeleteFile(lcDrive + lcMyComputer + ".Tmp") ENDIF RETURN IIF(lnResult # 0, .T., .F. )>Is there a non-blocking API function which will allow me to check if a certain network path is accessable. I have been using the foxpro DIRECTORY function and have had a problem with lost network connections. If a connection on a particular mapped drive is lost this function can cause the program to hang waiting for an acceptable response. Any help would be appreciated.