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.
Copy Command (*)
◄Example► ◄Up► ◄Contents► ◄Index► ◄Back►
─────LIB────────────────────────────────────────────────────────────────────
Syntax: *name
The copy command (*) copies a module from the library into a new
object file of the same name. The module remains in the library.
LIB names the object file by using the base name and adding an
.OBJ extension and puts the file in the current directory. You
cannot override this filename or location; however, you can later
rename the file and copy or move it to any location. If a file
with this name already exists, LIB overwrites the existing file.
LIB writes the full filename of the object file (including drive,
path to the current directory, base name, and extension) into the
header of the object file.
-♦-