LIB Help (lib.hlp) (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
<commands> Field
                                             Up Contents Index Back
─────LIB────────────────────────────────────────────────────────────────────
 
     The <commands> field specifies operations for manipulating
     modules. Specify a command operator followed immediately by a
     module name or an object-file name. You can specify more than one
     operation in this field in any order. LIB does not make any
     changes to <oldlibrary> if you leave the <commands> field blank.
 
     Operator   Action
 
     +          Add an object file or library to a library
     -          Delete a module from a library
     -+         Replace a module in a library
     *          Copy a module from a library to an object file
     -*         Move a module from a library to an object file
 
     Paths and filenames specified with these commands cannot contain a
     dash character (-). LIB interprets a dash as the delete operator.
 
     To enter commands on more than one line, follow the module name or
     filename with an ampersand (&).
 
     LIB first processes all deletions, then all additions. It does not
     change the original library. Instead, it copies the library and
     makes changes to the copy.
                                    -♦-