Ein kurzer Blick ins
PSDK:
Zitat von
MSDN:
...
Otherwise, the function searches for the file in the following sequence:
1. The directory from which the application loaded.
2. The current directory.
3a. Windows 95 and Windows 98: The Windows system directory. Use the GetSystemDirectory function to get the path of this directory.
3b. Windows NT: The 32-bit Windows system directory. Use the GetSystemDirectory function to get the path of this directory. The name of this directory is SYSTEM32.
4. Windows NT: The 16-bit Windows system directory. There is no function that obtains the path of this directory, but it is searched. The name of this directory is SYSTEM.
5. The Windows directory. Use theGetWindowsDirectory function to get the path of this directory.
6. The directories that are listed in the PATH environment variable.
Gruß, teebee