BrianMorse.com
Home Page Journal Page Services Page Tips Page eStore About Page

How to Find Files in the AutoCAD Search Path

Using a simple line of LISP code on the command line you can locate files in your AutoCAD search path. This example shows you how to find the ACAD.PGP file.

Type the following on the command line:

(findfile "acad.pgp")

The output from this command is the full path and file name (shown below). If your search fails AutoLISP returns nil on the command line.

"C:\\Documents and Settings\\instructor\\Application Data\\Autodesk\\Autodesk Land Desktop 2004\\R16.0\\enu\\support\\acad.pgp"

Back to Tips page.