SysDir Function

Purpose

Returns the Windows system directory.

Syntax

$ = SysDir[$]

Description

Returns the Windows directory without an ending backslash.

Example

Message SysDir

Remarks

The system directories have different names on different machines and OSs. For often used directories GFA-BASIC 32 provides WinDir, SysDir, and TempDir to return the specific directories.

See Also

WinDir, TempDir, scSpecialDir

{Created by Sjouke Hamstra; Last updated: 23/10/2014 by James Gaite}