$WINDIR$, $WINDRIVE$, $WINSYSDIR$, and $WINTEMPDIR$ are assigned the directory path of the Windows directory, the drive letter on which Windows is located, the Windows system directory, and the Windows temporary directory, respectively.

Common uses with the FILE command include:

  • Installing fonts or drivers into the Windows system directory.
  • Copying or updating .ini files in the Windows directory.