Marc,
I think you have your answer - DIRECTORY() seems to return .F. for system/hidden directories. If you have the Windows Scripting Host installed, you could try something like this:
lcdir="C:\TEMP"
oFSO = CREATEOBJECT("Scripting.FileSystemObject")
IF TYPE("oFSO.GetFolder(lcdir)")="O"
< Directory exists >
ELSE
< Directory doesn't exist >
ENDIF
Scott
>I found. I think it is because the Windows file property
>indicate that is a system directory.
>Why VFP cannot support that? Is exists a way to know by VFP?
Scott King
The Support Source Corporation