JUSTFNAME( ) Function

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

JUSTFNAME(cFileName)

Return Values

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

ADDBS( ) | DEFAULTEXT( ) | FILE( ) | FORCEEXT( ) | FORCEPATH( ) | JUSTDRIVE( ) | JUSTEXT( ) | JUSTPATH( ) | JUSTSTEM( )