Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Path Issue
Message
De
29/01/2003 00:37:36
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Titre:
Divers
Thread ID:
00746395
Message ID:
00746539
Vues:
22
Personally I prefer to avoid using SET PATH, as it results in bugs that are difficult to track down. If you want to see what I mean, just try "misplacing" some files by moving or duplicating them in various directories. Certain commands will honor SET PATH, while others will not. Some commands will work as expected, and others will access the wrong files!

Another thing -- CURDIR() should be used with caution, as you might not get what you expect, as it may or may not be directed to the place where the EXE resides (in worst case, it points somewhere in the Windows system directories). If you're trying to use the directory in which the program resides, then it's best to use JUSTDIR(SYS(16,0)).
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform