Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating array of files
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00275221
Message ID:
00275514
Vues:
25
>>>The old fashioned way, sys(2000) works well for this.
>>
>>Yep! Do you know if it works with multiple periods in VFP 5.0, however?
>
>George, I just tried it with 5.0 and multiple periods. Seems to work OK. Got a specific example that doesn't in case I just didn't try the right thing?

Try, "C:\WINDOWS\DESKTOP\*.LNK" (provided this is the location of your desktop). It works OK in 6.0, but I wonder about 5.0 (which I no longer have installed) because of the problem evidenced by ADIR() with these files. If the first one works ok, but doesn't have two or more periods, keep trying by adding the 1 parameter to get the next file. Of course, I'm assuming here that you've got a short cut on your desktop that reads something like "Visual FoxPro 6.0", which would be Visual FoxPro 6.0.LNK in the desktop directory.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform