I want to thank each of you for the information.
As I try, I discover that I can make the temporary enviroment variables,
example: SET DUM=dummy work from a batch file, say dum.bat, but ONLY if I
run the dum.bat file from within a CMD window. Then when the program
finishes I can undo the SET's from the same CMD window. This requires I also
run the program from the CMD window as well.
I was trying to run the batch file from 'explorer' (click on it), which did
not effect the environment changes set within the .bat file. I don't know
why.
The same file run from a CMD window, however, did make the changes.
I do not want to set the variables permanently.
Again thanks, I do have my workaround now.
Joe