Os2LibPath Variable Requires "Set" to Change

Last reviewed: May 13, 1997
Article ID: Q107369
The information in this article applies to:
  • Microsoft Windows NT operating system version 3.1

Page 321 of the Microsoft Windows NT System Guide states the following:

   "At the command prompt, you can change the library path for OS/2
   applications by using the "Os2libpath" command."

This is a documentation error. The "Os2libpath" command must be used with the "Set" command in order change the environment variable settings. Using the "Set" command in an MS-DOS VDM only changes the variable in that particular MS-DOS VDM.

To "permanently" change the "Os2libpath" variable, use the Set command dialog button in the System icon of Control Panel. Even using this, it will only append the change to the default system "Os2libpath" which is %SYSTEMROOT%\SYSTEM32\OS2\DLL. The default System path itself cannot be changed.

For more information about the Windows NT operating system, query on the following words in the Microsoft Knowledge Base:

   environment and variable and Windows and NT


Additional query words: prodnt libpath os/2libpath
Keywords : kbbug3.10 kbenv ntos2ap
Version : 3.1
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 13, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.