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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only