Thank you very much for your post, it worked great and is exactly what I needed! (And not above my comprehension!)
If you use EZScript-PRO on AutoCAD 2010, simply put the command RIBBON at the beginning of your scripts.
You can also put this ion the ACAD.lsp file.
This will always make sure that the ribbon does not 'dissapear' when a script is run from the command line.
Read this Lisp Routine Topic and thought if we could add Bind Xrefs and Explode to the mix that this could be powerful. But do we even have to open the drawing?
Have it run the lisp Routine; Bind Insert Xrefs, Explode, Purge All, Zoom Extents, then Save
Any Help on this topic