Returns the name of the directory from which Visual FoxPro was started.
SYS(2004)
Return Values
Character
Remarks
SYS(2004) returns the location of the Vfp8r.dll or Vfp8t.dll file in a run time Visual FoxPro application.
Example
? 'Visual FoxPro launch directory: ', SYS(2004)