You can extend the default search path that the kernel uses to locate .dll and .exe files.
The following registry key examples shows how to extend the search path.
[HKEY_LOCAL_MACHINE\Loader]
"SystemPath":REG_MULTI_SZ
You can add several additional paths.
This registry value has a maximum length of MAX_PATH characters, including the terminating null character.
A path specified by the OEM is the last path to be searched when locating a .dll or .exe file.
This registry value is read-only when the OS boots.
For more information about these registry settings, see CreateProcess and LoadLibrary.
See Also
Send Feedback on this topic to the authors