SYS(2004) - Visual FoxPro Start Directory
Returns the name of the directory from which Visual FoxPro was started.
SYS(2004)
Return Value
Character. SYS(2004) returns the location of the VFPVersionNumberR.dll or VFPVersionNumberT.dll file in a run-time Visual FoxPro application. VersionNumber represents the version number of this release.
Example
? 'Visual FoxPro launch directory: ', SYS(2004)