Returns the name of the directory from which Visual FoxPro was started.
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.
? 'Visual FoxPro launch directory: ', SYS(2004)