SYS(2004) – Visual FoxPro Start Directory

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 Vfp7r.dll or Vfp7t.dll file in a run time Visual FoxPro application.

Example

? 'Visual FoxPro launch directory: ', SYS(2004)

See Also

HOME( ) | SET PATH | SYS( ) Functions Overview