次の方法で共有


FORCEPATH( ) Function

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

FORCEPATH(cFileName, cPath)

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.

Return Value

Character

See Also

Reference

ADDBS( ) Function

DEFAULTEXT( ) Function

FILE( ) Function

FORCEEXT( ) Function

JUSTDRIVE( ) Function

JUSTEXT( ) Function

JUSTFNAME( ) Function

JUSTPATH( ) Function

JUSTSTEM( ) Function

Other Resources

Functions

Language Reference (Visual FoxPro)