Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DEFAULT vs. PATH
Message
From
31/01/2001 12:32:09
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, United States
 
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Miscellaneous
Thread ID:
00470654
Message ID:
00470751
Views:
36
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform