Function Entry: FINDTRUSTEDFILE
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: FINDTRUSTEDFILE
Name
findtrustedfile
Class
Function
Syntax
(findtrustedfile filename)
Arguments and Values
filename: string
Description
Searches the trusted file paths for the specified file.
Return Values
Returns a pathname string identifying the located file, or nil.
Side Effects
None.
Affected By
- trusted-path configuration
- host path-search semantics
Availability
- AutoCAD 2026: documented (per Autodesk reference page).
- BricsCAD V26: presumed compatible (no contradicting page found).
- Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.
Source Notes
Notes
- Autodesk documents that trusted paths are searched instead of the ordinary support-file search path.
- Autodesk documents that URL strings may also be returned when appropriate.
- In clautolisp,
findtrustedfilesearches the trusted folders only (TRUSTEDPATHSplus the implicit folders), so it returns a file only from a trusted location. See Normative Rules: Secure File Loading and Trust Model (this chapter).