Partilhar via


DEFAULTEXT( ) Function

Returns a file name with a new extension if one doesn't already exist.

DEFAULTEXT(cFileName, cDefault)

Return Values

Character

Parameters

  • cFileName
    Specifies the filename (with or without a path or extension) to be returned.
  • cDefault
    Specifies the default extension without a period.

See Also

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