RAD Studio VCL Reference
AnsiStrings.ChangeFilePath Function

Change filename path.

function ChangeFilePath(const FileName: AnsiString; const Path: AnsiString): AnsiString; overload;
AnsiString ChangeFilePath(const AnsiString FileName, const AnsiString Path);

ChangeFilePath changes a filename's path. FileName specifies a filename with or without an extension, and Path specifies the new path for the filename. The new path is not required to contain the trailing path delimiter. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!