Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Path Issue
Message
From
29/01/2003 00:37:36
 
 
General information
Forum:
Visual FoxPro
Category:
Project manager
Title:
Miscellaneous
Thread ID:
00746395
Message ID:
00746539
Views:
21
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)).
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform