GetSystemWindowsDirectory (function)

Syntax
d$ = GetSystemWindowsDirectory
Description Returns the true Windows directory and not the per user Windows directory when running under Terminal Services.
Example
Sub Main()
  Direct$ = GetSystemWindowsDirectory
  MsgBox "GetSystemWindowsDirectory = " & direct$
End Sub