;;;Edit *.BAT files ;;; (defun c:edbat ( / ) (setq edfil (getfiled "Edit Text File" (getvar"dwgprefix") "bat" 4)) (if (= 1 edfil) (setq edstr "NE UNNAMED.BAT") (setq edstr (strcat "NE " edfil)) );IF (command ".sh" edstr) );defun