JUSTPATH( ) Function

Returns the path portion of a complete path and file name.

JUSTPATH(cFileName)

Parameters

  • cFileName
    Specifies the full name (including path) of the file for which you want only the path. The maximum length of the string passed to cFileName is 259 bytes.

Return Value

Character

See Also

Reference

ADDBS( ) Function
DEFAULTEXT( ) Function
FILE( ) Function
FORCEEXT( ) Function
FORCEPATH( ) Function
JUSTDRIVE( ) Function
JUSTEXT( ) Function
JUSTFNAME( ) Function
JUSTSTEM( ) Function

Other Resources

Functions
Language Reference (Visual FoxPro)