in reply to Re^2: NetAddr build problem on Windows 2003 Server
in thread NetAddr build problem on Windows 2003 Server

The current directory is not in the Path environment variable by default on Windows. It is searched before the environment variable is used, along with a bunch of other directories. The default search is:
1. The directory from which the application loaded.
2. The current directory*
3. The system directory (eg. C:\WINDOWS\system32)
4. The 16-bit system directory. (eg. C:\WINDOWS\system)
5. The Windows directory. (eg. C:\WINDOWS)
6. The directories that are listed in the PATH environment variable.

* The current directory position is "moved" to number 5 on 2003 Server, and this may also be done on XP by tweeking the registry.
  • Comment on Re^3: NetAddr build problem on Windows 2003 Server

Replies are listed 'Best First'.
Re^4: NetAddr build problem on Windows 2003 Server
by BrowserUk (Patriarch) on Jan 23, 2008 at 03:51 UTC