ACADPREFIX (System Variable)

Lists the Support File Search paths specified in the Options dialog box, Files tab.

(Read-only)
Type:String
Saved in:Not-saved
Initial value:Varies

The Support File Search paths are stored in the ACAD environment variable. In addition to the Options dialog box, you can use the AutoLISP functions, getenv and setenv, to access these search paths. For example, from within an AutoLISP routine or from the Command prompt, you can use (getenv "ACAD") to list the Support File Search paths.

Starting with AutoCAD 2026 and AutoCAD 2026-based products, when PROJECTAWARE is set to 1, the value of ACADPREFIX is a combination of Support File Search paths from current Project Settings, My Settings and Classic AutoCAD Settings from the Files tab of the Options dialog box. If custom programs reference the ACADPREFIX system variable you may have to check the available paths.

For more information, see About Connected Support Files on setting up support files for Autodesk Docs projects.