WINDIR$ function

Purpose:

WINDIR$ returns the path to Windows directory.

Syntax:

RetStr = WINDIR$

Return Value:

  • Data type: STRING
    RetStr The full path to the Windows directory. The returned string does not have a terminating backslash. Typically,
    PRINT WINDIR$
    

    would print

    C:\WINDOWS
    

Parameters:

  • None.