Answer
For DLLs stored in the \Windows or \Windows\System directories, you can use the internally declared WINDIR environment variable.
Windows understands this variable automatically, and so it does not have to be set at the DOS prompt, Control Panel, or autoexec.bat file. Instead of referencing a path like C:\windows\system\the.dll, you would use $WINDIR\system\the.dll.