System.SysUtils.SetCurrentDir

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function SetCurrentDir(const Dir: string): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall SetCurrentDir(const System::UnicodeString Dir);

Properties

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

Description

Sets the current directory.

The SetCurrentDir function sets the current directory. The return value is True if the current directory was successfully changed, or False if an error occurred.

See Also