Returns the Windows directory.
$ = WinDir[$]
Returns the Windows directory without an ending backslash.
Message WinDir
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. Other Shell related directories can be obtained using the App object properties like scPrograms and scSpecialDir.
{Created by Sjouke Hamstra; Last updated: 25/10/2014 by James Gaite}