Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DEFAULT vs. PATH
Message
De
31/01/2001 12:32:09
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Divers
Thread ID:
00470654
Message ID:
00470751
Vues:
34
OK, I will contiune to use SET DEFAULT when I am coding and SET PATH for the main.prg. From my understanding when the abc.exe runs, VFP looks in the default directory first (via, regardless if SET DEFAULT TO is issued or not), then where ever the SET PATH TO is next... Thanks!

Chuck

>>USE dirpath
>>STORE dirpath TO dirpath
>>SET PATH TO &dirpath
>>USE
>
>IMHO, SET PATH is the preferrable way. Also there may be a combination of them: SET DEFAULT sets the start directory (for example, if it should be different from the directory where your EXE starts, or if you have multiple data sets) and SET PATH provides access to all necessary files.
Today is tomorrow's yesterday.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform