[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'LazFileUtils' (#lazutils)

GetCurrentDirUTF8

Gets the name for the current directory.

Declaration

Source position: lazfileutils.pas line 124

function GetCurrentDirUTF8: string;

Function result

Name for the current directory.

Description

GetCurrentDirUTF8 is a String function used to get the name for the current directory in the local file system.

For the Windows environment, GetCurrentDirectoryW is called to get the current directory name. UTF8Encode is called to convert the WideString value to UTF-8, and used as the return value for the function.

For UNIX-like environments, GetCurrentDir in SysUtils is called to get the current directory name.

See also

GetCurrentDir


Version 3.2 Generated 2024-02-25 Home