RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
AnsiStrings.ChangeFilePath Function

Change filename path.

Pascal
function ChangeFilePath(const FileName: AnsiString; const Path: AnsiString): AnsiString; overload;
C++
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!