DigiNews

Tech Watch by Johan Denoyer

← Back to articles

Why are there both TMP and TEMP environment variables, and which one is right?

Quality: 8/10 Relevance: 8/10

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.

🚀 Service construit par Johan Denoyer