The routine will insert ALL the drawing files inside the two folders one by one, all you need to do now is add and/or remove files from the defiend folder.
(defun c:tastybread ()
(Foreach itm '("N:\\CAD\\AutoCad Blocks\\Details\\Concrete\\"
"N:\\CAD\\AutoCad Blocks\\Details\\Misc\\"
)
(foreach dwg (vl-directory-files itm "*.dwg" 1)
(command "_insert" (strcat itm dwg) pause "1" "1" "0")
)
)
)
HTH
Now if there are drawing files on the same folder but you need to all of them, use a listbox , where you can select on the files you to insert
;; List Box - Lee Mac
;; Displays a DCL list box allowing the user to make a selection from the supplied data.
;; msg - [str] Dialog label
;; lst - [lst] List of strings to display
;; bit - [int] 1=allow multiple; 2=return indexes
;; Returns: [lst] List of selected items/indexes, else nil
(defun LM:listbox ( msg lst bit / dch des tmp rtn )
(cond
( (not
(and
(setq tmp (vl-filename-mktemp nil nil ".dcl"))
(setq des (open tmp "w"))
(write-line
(strcat "listbox:dialog{label=\"" msg "\";spacer;:list_box{key=\"list\";multiple_select="
(if (= 1 (logand 1 bit)) "true" "false") ";width=50;height=15;}spacer;ok_cancel;}"
)
des
)
(not (close des))
(< 0 (setq dch (load_dialog tmp)))
(new_dialog "listbox" dch)
)
)
(prompt "\nError Loading List Box Dialog.")
)
( t
(start_list "list")
(foreach itm lst (add_list itm))
(end_list)
(setq rtn (set_tile "list" "0"))
(action_tile "list" "(setq rtn $value)")
(setq rtn
(if (= 1 (start_dialog))
(if (= 2 (logand 2 bit))
(read (strcat "(" rtn ")"))
(mapcar '(lambda ( x ) (nth x lst)) (read (strcat "(" rtn ")")))
)
)
)
)
)
(if (< 0 dch)
(unload_dialog dch)
)
(if (and tmp (setq tmp (findfile tmp)))
(vl-file-delete tmp)
)
rtn
)
(defun c:tastybread ( / blocks)
(Foreach itm '("N:\\CAD\\AutoCad Blocks\\Details\\Concrete\\"
"N:\\CAD\\AutoCad Blocks\\Details\\Misc\\"
)
(foreach dwg (LM:listbox "Select drawing Files" (vl-directory-files itm "*.dwg" 1) 1)
(command "_insert" (strcat itm dwg) pause "1" "1" "0")
)
)
)