Skip to content

dos_windir

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

Retrieves the path of the Windows directory. The Windows directory contains such files as Windows-based applications, initialization files, and Help files.

Syntax

(dos_windir)

Returns

A string containing the path of Windows directory if successful.

nil on error.

Example

Command: (dos_windir)
"C:\\WINDOWS\\"

Clone this wiki locally