System.IOUtils.TDirectory.GetCurrentDirectory

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class function GetCurrentDirectory: string; {$IFDEF MSWINDOWS} inline; {$ENDIF} static;

C++

static System::UnicodeString __fastcall GetCurrentDirectory();

Properties

Type Visibility Source Unit Parent
function public
System.IOUtils.pas
System.IOUtils.hpp
System.IOUtils TDirectory

Description

Returns the current working directory.

Use GetCurrentDirectory to get the current directory. GetCurrentDirectory returns the path of the directory considered current for the application.

See Also