>I've looked and can't find the command/keystrokes for saving all of the SET commands to a file so I can restore them later. I thought there was one, or am I mistaken? Anybody know what it is?
Try CREATE VIEW & SET VIEW (to restore later).
AFAIK, it creates a compiled file (I haven't done it for a while).
I used to use this on a menu system before calling external programs, reset the environment back again when it returns.