Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Build directory structure
Message
 
 
À
13/08/2009 15:58:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01417859
Message ID:
01418003
Vues:
57
>>I have written recursive code to build a directory structure. It works fine with small structures, but with a large one it takes a very long time. Any hints of speeding such a task up? Any commercial components available?
>
>One interesting possibility is to just use the VFP MD command. It is actually recursive:
>
>* Suppose none of the folders below already exist:
>MD C:\Level1\Level2\Level3\Level4
>* creates all the intermediate folders, as needed, with the single command
>* However, the folder names do not respect case, they are all LOWER()ized
>
See

Create directory preserving the name case
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform