Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adir for folder only
Message
De
26/06/2009 12:45:13
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01408359
Message ID:
01408711
Vues:
55
>Hi Folks. Thanks for all your help.
>
>Doing a :
> ADIR(ladir,"C:\temp\*.","D")
> seems to work and gives me just subfolders down 1 level, including . and .. which I can work around.
>
>This seems to work without doing a CD or Set Default.
>The Sub folders I am interested in will not have a suffix after the dot
>
>Most of replies and threads seemed to suggest that a CD or Set Default would be required.
>Am I missing something ?

Thread #1403230, and what I had to say there is in message #1403429 - the particular behaviors of aDir() and the details. Nadya was riding on one of the behaviors - if you issue it with a "", "D" parameters, it gives all subdirectories (including . and .., but no files) immediately below current directory; if you want it to do that elsewhere, you have to go there.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform