Can anyone help me....?

I'm looking to create a LISP routine that can run the data extraction command, referencing a pre-determined dxe template file in order to quickly create a linked table of data retrieved from dynamic block information.

Basically, I'm looking to bypass the 8 step data extraction wizard command, in order to prevent the user from selecting the incorrect information and speed up the process.

I have found a decent code written by user "BlackBox" called DEXT posted "2012-06-27, 02:46 PM" link below:


BlackBox's DEXT LISP routine, requires you to create a C\temp folder and place a dwg containing the blocks you wish to extract and a template dxe file.
This routine works ok the first run, however, it fails on any consecutive run due to the dwg library file being over written.
Can either of you lisp wizards fix this DEXT command or know of another process that can achieve this?
Any help with this will be greatly appreciated.