JUSTFNAME( ) Function

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

JUSTFNAME(cFileName)

Return Value

Character

Parameters

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

See Also

Reference

ADDBS( ) Function

DEFAULTEXT( ) Function

FILE( ) Function

FORCEEXT( ) Function

FORCEPATH( ) Function

JUSTDRIVE( ) Function

JUSTEXT( ) Function

JUSTPATH( ) Function

JUSTSTEM( ) Function

Other Resources

Functions

Language Reference (Visual FoxPro)