0 Members and 1 Guest are viewing this topic.
;;PGP EDITOR(defun c:pgpe ()(setq pgpfile (findfile "acad.pgp"))(startapp "notepad" pgpfile));;PGP BACKUP(defun c:pgpbackup ()(setq pgpfile (findfile "acad.pgp"))(setq loginname (getvar "loginname"))(vl-file-copy pgpfile (strcat "x:/acad/pgp/" loginname ".pgp") T));;PGP RESTORE(defun c:pgprestore ()(setq pgpfile (findfile "acad.pgp"))(setq loginname (getvar "loginname"))(if (findfile (strcat "x:/acad/pgp/" loginname ".pgp"))(vl-file-copy (strcat "x:/acad/pgp/" loginname ".pgp") pgpfile T)(alert "The PGP file is missing.")))
You must REINIT after changing the PGP file.Do you REALLY have a need for a program like this? In my experience, I get my aliases set up, and they just stay that way.