in german/auf Deutsch


Libpath

The LIBPATH statement specifies the search path for DLLs. When a process needs a DLL, OS/2 searches for the DLL in the directories listed in the LIBPATH. To speed up your system it is wise to sort your LIBPATH statement. Most applications store their DLLs in the same directory as the executables so the first entry of your LIBPATH statement should be the period ".". Arrange the other entries so that the most frequently used directories appear before the least used directories.

LIBPATH=Path1;Path2;Path3;...

Value can be any full path or any relative path .
A full path is something like this: "C:\OS2\DLL"
A relative path looks like this: "..\DLL" or "."

Tip: The best way to sort your LIBPATH is to use the first 4 entries from the line above and then list your other directories sorted from the most frequently used directory to the least frequently used directory.

  • The "." is the current directory

  • The ".\DLL" is the subdirectory DLL under the current directory. If the current directory is "C:\OS2" then is ".\DLL" equal to "C:\OS2\DLL".

  • The "..\DLL" is the subdirectory from the main directory from the current directory. If the current directory is "C:\COMPILER\EMX\BIN" then is "..\DLL" equal to "C:\COMPILER\EMX\DLL".


Platform Support:
OS/2 2.x OS/2 3.0 OS/2 4.0
Yes Yes Yes


OS/2 commands
  <<< Previous
Config.sys Home
Next >>>  


Last modified 27 May 1999 by Joerg Sievers at jogi@warpsite.de. - This page can be found from http://www.warpsite.de/en/csdp/Libpath.htm
Copyright © 1998-2000 Oliver Poggensee, © 2000 Joerg Sievers