AutoCAD: Secrets Every User Should Know

Now it s time to pull together a number of different tools. The program in Listing 9.13 was written for a company that deals with various contractors who use a range of AutoCAD releases. The company wanted to generate a list of its drawing files to determine whether any particular file had to be converted to an earlier release before sending it to a contractor. I didn t have to go back to the beginning of AutoCAD to write this program, but I thought it would be interesting, so I included all the commercial versions.
Relshell.lsp ; relshell.lsp Dan Abbott ################################################################ The bit flag for the SHELL command in the ACAD.pgp file must be set to 0 for this program to work. The default setting is 1, so the program adds a line to the end of the file changing it to 0. This causes no harm, it just forces AutoCAD to wait until the program finishes its shell function. Use the program when you have the time to stop using AutoCAD for a while.