Condividi tramite


FORCEEXT( ) Function

Returns a string with the old file name extension replaced by a new extension.

FORCEEXT(cFileName, cExtension)

Return Values

Character

Parameters

  • cFileName
    Specifies the file name (with or without a path or extension), which will get a new extension.
  • cExtension
    Specifies the new extension (without a period) for cFileName.

See Also

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