Well, Kerry, alanjt, U r right. I should make some small revision.
It's easy to add aliases to the PGP file by a short routine, but it's hard to automatically delete them while shutting down the AUTOCAD. Maybe I have to manually run another routine to do the delete.
I make this routine just for some one who may use others' computers temperately and don't wanna change the owner's accustomed shortcuts. When it is needed, just drag the lsp file into the CAD. While closing, nothing changed.