Searches the AutoCAD trusted locations for the specified file.
(findtrustedfile filename)
The findtrustedfile function makes no assumption about the file type or extension of filename.
A string containing the fully qualified file name; otherwise nil, if the specified file is not found.
If the trusted locations and support search file paths contains C:\myapps, and abc.lsp is contained in the path, the function retrieves the path name:
Command: (findtrustedfile "abc.lsp")
"C:\\myapps\\abc.lsp"
If the folder in which abc.lsp is not present in both the trusted locations and support search file paths, findtrustedfile returns nil.
Command: (findtrustedfile "abc.lsp")
nil