Why are there both TMP and TEMP environment variables, and which one is right?
Summary
The article explains why both TMP and TEMP exist as environment variables, tracing their origins from CP/M and MS-DOS, and describes how Windows and various programs historically handle these variables. It highlights the lack of a single canonical choice and how different tools may prefer TMP or TEMP, leading to inconsistent behavior across environments.