Click or drag to resize

ForcePath Function

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

Namespace:  XSharp.VFP
Assembly:  XSharp.VFP (in XSharp.VFP.dll) Version: 2.21
Syntax
 FUNCTION ForcePath(
	cFileName AS STRING,
	cPath AS STRING
) AS STRING
Request Example View Source

Parameters

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

Return Value

Type: String
Character
See Also