I have a lisp routine that creates a script file and then it runs the script file. After the script has finished running, I want to delete the script file from autocad, but for some reason it doesn't delete.
I've tried using (vl-file-delete path)
Any suggestions?