Skip to content

dos_sysdir

Dale Fugier edited this page Jul 1, 2026 · 1 revision

Returns the path of the Windows system directory. The system directory contains such files as Windows libraries, drivers, and font files.

Syntax

(dos_sysdir)

Returns

A string containing the path of the system directory if successful.

nil on error.

Example

Command: (dos_sysdir)
"C:\\WINDOWS\\system32\\"

Clone this wiki locally