if you have acad2*** Then (vl-directory-files" path" "ext" ) if all files simpli put ext "*.*"