docs: def get_windows_dir():
      """Return the Windows directory e.g. C:\\Windows"""
      try:
          import win32api
      except ImportError:
          windir = compat.getenv('SystemRoot', compat.getenv('WINDIR'))
      else:
          windir = win32api.GetWindowsDirectory()
      if not windir:
          raise SystemExit("Error: Can not determine your Windows directory")
      return windir