Get System Directory
- Updated2023-02-17
- 3 minute(s) read
Get System Directory
Returns a specified system directory, such as the user home, the user application data, or the user temporary directory.
Inputs/Outputs

type
The type of directory you want to retrieve.
| User Home |
Directory that contains the personal files of the current user. This directory is a readable and writable directory accessible to a single user of the system. |
| User Desktop |
Directory that contains files located on the desktop of the current user. This directory is a readable and writable directory accessible to a single user of the system. |
| User Documents |
Default directory for saving the documents of the current user. This directory is a readable and writable directory accessible to a single user of the system. |
| User Application Data |
Directory that contains data for the system applications of the current user. This directory is a readable and writable directory accessible to a single user of the system. |
| User Preferences |
Directory that contains the preferences for the current user. This directory is a readable and writable directory accessible to a single user of the system. |
| User Temporary |
Directory that holds temporary files for the current user. This directory is a readable and writable directory accessible to a single user of the system. You cannot change the path to this temporary directory. |
| Public Documents |
Directory that contains documents accessible to all users of the system. This directory is readable and sometimes writable. |
| Publication Application Data |
Directory that contains data for system applications accessible to all users of the system. This directory is readable and sometimes writable. |
| Public Preferences |
Directory that contains preferences common to all users of the system. This directory is readable and sometimes writable. |
| System Core Libraries |
Directory that contains the libraries that come with the operating system. This directory is typically read-only to the standard user of the system. |
| System Installed Libraries |
Directory that contains libraries a user installs on the system. This directory is typically read-only to the standard user of the system. |
| Application Files |
Directory that contains files of applications installed on the system. This directory is typically read-only to the standard user of the system. |
| Boot Volume Root |
Top-level directory used to start the system. This directory is typically read-only to the standard user of the system. |
| Public Cache |
Directory that stores files shared among all users for the purpose of making certain operations faster. This directory is readable and sometimes writable. |
| Default Data Directory |
Directory that stores data if another directory is not specified. |
Default value: User Home

create directory if not found?
A Boolean specifying whether the node creates a new directory if the specified directory does not exist.
| True | The node creates the directory and returns the path to the new directory. |
| False | The node does not create the directory but still returns the path where the system expects to find the directory. |
Default value: False

system directory
The specified system directory.
The node returns Not a Path if errors occur while accessing or creating the directory.