Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get the path to a parent folder
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01294263
Message ID:
01294269
Vues:
18
>Is there a cleaner way to do this:
>
>
>** The database is in a subfolder called 'Data'
>sDBCPath = JUSTPATH(LOWER(DBC()))
>CD (sDBCPath)
>CD..
>sFileName = ADDBS(sDBCPath) + "vtc.ini"
>
Hmm,
sParentPath = substr(sDBCPath,1,rat('\')-1)
- not tested
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