WINDIR$ function

Purpose: Returns Path to Windows Folder


 Syntax:
 
 RetStr$ = WINDIR$

 Parameters:

  • RetStr$ Returned string containing the full path of the Windows folder. The returned string does not have a terminating backslash. Typically,
     
     PRINT WINDIR$
    
    

    would print

    
     C:\WINDOWS