Hi,
>> So there's no way it can be added to the end of a .NET program?
I don't know what part of your program is dotNET now.
You start AutoCAD via batch file (at least I think so when looking to how you start AutoCAD). And you start AutoCAD with a script. Where is the part you have dotNET active?
If your AutoCAD script loads a dotNET-DLL then of course, you can quit the running application using SendCommand, or using COM-interface
Autodesk.AutoCAD.Interop.IAcadApplication ==> .Quit
or using the managed part of the API
Autodesk.AutoCAD.ApplicationServices.Application ==> .Quit
- alfred -
------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ...
blog.ish-solutions.at ...
LinkedIn ...
CDay 2026------------------------------------------------------------------------------------
(not an Autodesk consultant)