I need to write a lisp that allows me to do two things.
1. When asking it to modify a drawing, ask for the new revision, save the open drawing to a new directory with the new revison replacing the old revision, as a suffix to the filename, update the titleblock, then delete the old version from the working folder.
2. When asking it to issue the drawing, extract the revision from the title block attributes, create a folder with that revision, save a copy of the drawing to the issued folder, and also save a copy back into the working folder, before deleting the version in the mods folder.
I can get it to copy the drawing and change the filename, but how can I delete the old files?