System.AnsiStrings.ChangeFilePath

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

extern DELPHI_PACKAGE System::AnsiString __fastcall ChangeFilePath(const System::AnsiString FileName, const System::AnsiString Path)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
System.AnsiStrings.pas
System.AnsiStrings.hpp
System.AnsiStrings System.AnsiStrings

Description

Change filename 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.

See Also