ade_osfexpand

AutoCAD Map 3D AutoLISP

Up a level
ade_osfexpand
 
 

Searches a directory and returns a list of file names.

(ade_osfexpand path extension pattern)

Returns a list of file names or nil.

path Directory in which to search (string) or nil.
If nil, the function searches the working directory
extension File name extension (string) or nil. If nil, the function uses "dwg".
pattern Wild card pattern (string) or nil. If nil, the function uses "*" (search for all file names with the given extension and path).

For information about wild card patterns, look up "wild-card characters" on the Index tab of AutoCAD Map Help.