System.SysUtils.SetCurrentDir

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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