TParams.MoveToFilePath Method

Move actual parameter file to the new file.

Unit: Olf.RTL.Params
class procedure MoveToFilePath(ANewFilePath: string; ASave: boolean; ACreateFolder: boolean)

Parameters

ANewFilePath
Type: System.string

Absolute file path (drive+folder+file name+extension) to the parameter file you want to use.

ASave
Type: System.Boolean

If set to True, save actual values to the parameter file. If set to false, just move the parameter file to it's new folder/filename.

ACreateFolder
Type: System.Boolean

If set to True, create the folder of file parameter if it doesn't exists.