Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
??? DIRECTORY() ???
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00483737
Message ID:
00483746
Vues:
10
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform