Hello irneb,
thanks for the answer, but I want to do exactly the opposite.
I would like to start the command c: test manually only when I need to redefine the PURGE command.
When I open a new file I would use the original command of autocad.
Unfortunately, however, the commands are unknown in this case
Also: there is a lisp function that restores the original command in AutoCAD?