[Overview][Constants][Types][Procedures and functions][Variables][Index] |
Sets the current directory to the specified name.
Source position: lazfileutils.pas line 125
function SetCurrentDirUTF8( |
const NewDir: string |
):Boolean; |
NewDir |
|
Directory name to use as the current directory. |
True if the current directory was successfully changed to the new value.
SetCurrentDirUTF8 is a Boolean function used to set the current directory in the local file system to the specified value.
For the Windows environment, UTFDecode is called to convert NewDir and passed to SetCurrentDirectoryW to set the current directory name. Windows CE raises an exception in SetCurrentDirUtf8; the concept of a current directory does not exist in Windows CE.
For UNIX-like environments, SetCurrentDir in SysUtils is used to set the current directory to the specified value.
The return value is True if the current directory is successfully changed to the new value.
Version 3.2 | Generated 2024-02-25 | Home |