I have the ACADLSPASDOC system variable set to 1 so that my Acad.lsp loads with each drawing. In my batch routines I set it to 0 for the duration of the batch so it does not load so I do not have the problem that can be caused by it or AcadDoc.lsp loading.

Regards - Nathan