Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
??? DIRECTORY() ???
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00483737
Message ID:
00483746
Views:
8
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
Previous
Reply
Map
View

Click here to load this message in the networking platform