Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FoxPro Dos Question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00265057
Message ID:
00268313
Vues:
21
>Sorry, I've been away from my computer here at my office for a few days so you probably figured out the problem already but I'll give you my response anyway:
>
>If you use the command without the back slash after the word TEMP, for example:
>
> x = adir(y, "C:\TEMP", "D")
>
>It should only return 1 for the variable x. However, if you use the backslash after the word TEMP you're right it'll return the "." and ".." in the array.

Victor,

It will return 2 if there is a file named temp in the root directory of C: and also a tmep directory. If there is no tmep directory but there is a file named Temp then it will falsly return 1 row. You MUST chekc the other columns to find out if what adir() found is, in fact, a directory.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform