SLIDELIB Utility Reference

Compiles slide files listed in an ASCII file into a slide library file.

You can construct slide library (SLB) files from slide (SLD) files by using the SLIDELIB utility program supplied in the AutoCAD or AutoCAD-based product's install folder. The following operating system command prompt syntax constructs a slide library:

slidelib library [ < slidelist ]

where

library specifies the slide library file (extension .slb) into which the slide files (extension .sld) are added. slidelist specifies a list of slide files. If you want to specify a file extension, it must be .sld.

The SLIDELIB utility reads a list of slide file names. This list is normally supplied by redirecting a list of files (one per line in another file created using a text editor or a user-supplied utility program) to standard input.

The operating system commands shown below will create a slidelist file that can be used with the SLIDELIB utility. All the slide files you want to compile into a slide library should be placed in a single directory. At a DOS prompt, enter the following:

dir *.sld /b > mylist

This creates the mylist file, which you can pass to the SLIDELIB utility. You can also create the mylist file with a text editor by listing the slide file names (and paths, if necessary), such as lobby, d:\slides\office, and \aec\slides\stairs. The slide file name, but not the drive and directory information, is saved in the library file. Because only the file name is included, a library can contain slides with the same name from different directories, but only one of the slides can be accessed.

To generate the slide library mlib from mylist, enter the following:

slidelib mlib < mylist

This entry creates the file mlib.slb, which contains the names and definitions of the slides listed in mylist.

Caution: Do not delete your original slides. The SLIDELIB library has no provision for updating a slide library once it is created. If you want to add or delete a slide, update the slidelist file and re-create the library with the SLIDELIB utility. All the original slides must be present in order to do this.