Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Directory Access Errors with 'CD' or 'SET DEFAULT' comma
Message
De
27/01/1999 08:43:24
 
 
À
26/01/1999 17:40:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00180446
Message ID:
00180700
Vues:
20
>Certain system folders are not directly accessible (VFP doesn't seem to like >to change into a directory with the System attribute set), but you can >manipulate the contents. What do you need to do? For example, to get a list of >the files in C:\WINDOWS\FONTS, you can do something like:

>DECLARE aFiles[1,5]
>nFiles = ADIR(aFiles,'C:\WINDOWS\FONTS\*.*','SH')

Geez. I thought that ADIR required me to change to the directory I wanted to get information about... Don't I feel like the Idiot!

Thanks. That solves my problem.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform