Yes, they do.
I have a feeling that you do not comprehend my problem.
I meant do they work alone when shutting down without closing TCMD. I don't understand the need for two commands; the second one, if successful, will overwrite the file.
I understand the problem to be ... normally (simply closing TCMD), you get a file with your aliases in it; but when shutting down without closing TCMD, the file is empty.
There are many things I can't test.
Does the same thing happen with stand-alone TCC?
You could put some diagnostics in TCEXIT to try to figure out exactly what fails, and when it fails; for example, do "2>>error.log" in each "alias" command to capture any errors. And/or, after each ALIAS command, do `DIR "C:\Program Files\JPSoft\tcmd17x64\aliases.txt >> dircheck.txt"`to see when the file is emptied.