Tried (command "-linetype" "load" "*" "acad.lin")problem is how you handle the already exists, the simple way may be to look at the .lin file itself the line type name is always *linetypename so you can do a simple read the .lin file check for linetype exists and if not load it.
*BORDER,Border __ __ . __ __ . __ __ . __ __ . __ __ .
A, 12.7, -6.35, 12.7, -6.35, 0, -6.35
*BORDER2,Border (.5x) __.__.__.__.__.__.__.__.__.__.__.
A, 6.35, -3.175, 6.35, -3.175, 0, -3.175
*BORDERX2,Border (2x) ____ ____ . ____ ____ . ___
A, 25.4, -12.7, 25.4, -12.7, 0, -12.7
look at asmi code need to change a bit, need a day or 2 to do.
(defun c:llt()
; make the list "linetypes" of the linetype name by reading them from the linetype file.
(foreach lt linetypes
(if(not(tblsearch "ltype"lt))
(command "_.-linetype" "_l" lt "acadiso.lin" "")
); end if
); end foreach
(princ)
); end of c:llt