LIB Help (lib.hlp) (
Topic list)
Response File: Example
◄Using a Response File► ◄Up► ◄Contents► ◄Index► ◄Back►
─────LIB────────────────────────────────────────────────────────────────────
The following lines are in a text file called RESPONSE:
GRAPHIC
+CIRCLE -WAVE +WAVE &
*FLASH
GRAPHIC.LST;
To use this response file, run LIB with the following command:
LIB @RESPONSE
This is equivalent to the following responses to LIB prompts:
Library name: GRAPHIC
Operations: +CIRCLE -WAVE +WAVE &
Operations: *FLASH
List file: GRAPHIC.LST
Output library:
The ampersand character (&) continues commands on multiple lines.
This response file tells LIB to perform the following steps:
1. Delete the module WAVE from the library GRAPHIC.LIB.
2. Copy the module FLASH into an object file named FLASH.OBJ.
3. Add the object files CIRCLE.OBJ and WAVE.OBJ as the last two
modules in the library.
4. Create a cross-reference listing named GRAPHIC.LST.
5. Name the new library GRAPHIC.LIB and save the old library as
GRAPHIC.BAK, because <newlibrary> is not specified.
-♦-