Wouldn't it be better to swap the .TXT and .BAK files (i.e. .TXT would become .BAK and wise versa)? This way, you could undo the operation by calling the macro again.
However, for unlimited backups, may I recommend using RCS, the freeware revision control system.
By using my RCS event macros, the check-in and check-out operations are performed automatically.
You can download the macros from my Vedit homepage here.
-- Pauli
|
|