Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Limit the deepness of getdir() ???
Message
 
À
06/02/2005 07:02:27
Albert Beermann
Piepenbrock Service Gmbh & Cokg
Osnabrück, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
00984291
Message ID:
00984293
Vues:
16
Hi Albert,

You can set default folder as root:
=GETDIR("c:\d1\","text","caption",0,.T.)
MartinJ

>Hello everybody !
>
>Is there a way to limit the deepness of the subdirectory stucture in getdir() or getfile() commands with a parameter or something else ???
>
>Example:
>Directory structure of c:
>c:
>>d1
>>>d11
>>>>d111
>>>>>d1111
>>d2
>>>d22
>>>>d222
>>>>>d2222
>>d3
>>>d33
>>>>d333
>>>>>d3333
>
>I only want all subfolders and there subfolders from a given startdirectory.
>startdirectory = c deepnessparameter = 2
>
>c:
>>d1
>>>d11
>>d2
>>>d22
>>d3
>>>d33
>
>Any help welcomed
>
>Best regards
>Albert
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform