Batch command processing for AutoCAD