When I run this script across multiple files, it stops when it encounters a drawing that already has the block named "arrw-1" which it then redefines:
(if (/= (tblsearch "block" "arrw-1") nil) (command ".-insert" "arrw-1=" "y" "0,0" "" "" "" "" "erase" (entlast) "" "qsave") () )
;;;;I have also tried this: (if (/= (tblsearch "block" "arrw-1") nil) (command ".-insert" "arrw-1=" "y" (command) "qsave") () )
...and many other variations. No matter what, if it redefines the block, the script stops and does not process the next drawing.
Aaron