Walter Meester
HoogkarspelNetherlands
General information
Category:
Coding, syntax & commands
Hi John,
>What you could do is to have the app figure out where it is when launched and base everything from that drive/dir. For example,
>
>SET PATH TO (CURDIR()+"data") && paths to data sibdir under current dir.
There is no need to use CURDIR().
SET PATH TO DATA would work just fine.
If the executable was run from another directory than the workdirectory you can determine the startupdir with JUSTPATH(_vfp.servername)
Walter,
>>Until now most of my apps have been developed for server based LAN use, but now one of my apps is being used on a peer to peer network where the users map each others drives with their own drive letter designation. This means that hard coded references to file locations no longer works.
>>I know that there is more than one approach to addressing this issue and I was wondering what is the currently recommended "guru" method.
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