FORCEPATH( ) Function

Returns a file name with a new path name substituted for the old one.

FORCEPATH(cFileName, cPath)

Return Values

Character

Parameters

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

See Also

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