Skip to content

SystemProperty

Narta Xaymar Dirks edited this page Oct 28, 2026 · 7 revisions

Blitz3DBlitzPlusBlitzBasic

SystemProperty

SystemProperty:String property:String
Parameter Mode Type Default Description
property In String required One of tempdir, appdir, windowsdir or systemdir.

Returns: The path, or an empty string for a name that is not known.

Description

Asks for the path of a system folder.

Differences

  • Off Windows windowsdir and systemdir are the folders where the system keeps its settings and its libraries, not the Windows folders.

Examples

Print "Temporary files go to " + SystemProperty$("tempdir")
Property Windows Elsewhere
appdir The folder of the program. The folder of the program.
tempdir %TEMP% $TEMP, $TMPDIR or /tmp.
windowsdir %SystemRoot% /etc/ (/System/ on macOS), where the system keeps its settings.
systemdir The System32 folder. /usr/lib/ (/System/Library/ on macOS), where the system keeps its libraries.

Folders end with a separator, except for the ones of Windows, which are as the system gives them.

Related Commands

RuntimeStats, SetEnv

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally