System.IOUtils.TPath.GetDesktopPath
Delphi
class function GetDesktopPath: string; static;
C++
static System::UnicodeString __fastcall GetDesktopPath();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.IOUtils.pas System.IOUtils.hpp |
System.IOUtils | TPath |
Description
Returns the path to the directory that represents an OS shell desktop. If the system running your application does not support the requested folder or if the folder does not exist in the system, this function returns an empty string instead.
- On Windows, it points to a user-specific virtual folder that represents the Windows desktop.
- On Posix platforms, is points to default "~/Desktop" path.