Microsoft KB Archive/25108

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Knowledge Base


Using LIB to Combine Two Libraries

Article ID: 25108

Article Last Modified on 10/23/2003



APPLIES TO

  • Microsoft Library Manager for MS-DOS 3.0
  • Microsoft Library Manager for MS-DOS 3.04
  • Microsoft Library Manager for MS-DOS 3.07
  • Microsoft Library Manager for MS-DOS 3.08
  • Microsoft Library Manager for MS-DOS 3.1
  • Microsoft Library Manager for MS-DOS 3.11
  • Microsoft Library Manager for MS-DOS 3.14
  • Microsoft Library Manager for MS-DOS 3.17
  • Microsoft Library Manager for MS-DOS 3.2
  • Microsoft Library Manager for MS-DOS 3.20.010
  • Microsoft Library Manager for MS-DOS 3.31
  • Microsoft Library Manager for MS-DOS 3.4
  • Microsoft Library Manager for OS/2 3.11
  • Microsoft Library Manager for OS/2 3.14
  • Microsoft Library Manager for OS/2 3.17
  • Microsoft Library Manager for OS/2 3.2



This article was previously published under Q25108

The Microsoft Library Manager utility (LIB.EXE) can be used to combine two libraries into one.

The following is an example of how to add the contents of LIB1.LIB to LIB2.LIB in a single LIB command:

LIB LIB2.LIB+LIB1.LIB;


You may also have LIB prompt you for input, in which case the input and prompts will appear as follows:

LIB <ENTER> Library name: LIB2.LIB <ENTER> Operations: +LIB1.LIB <ENTER>


Note that the .LIB extension is required; otherwise, LIB will assume LIB1 is an object module.


Additional query words: kbinf 3.00 3.10 3.20 3.40

Keywords: kb16bitonly KB25108