Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

Windows environment variables and paths

📅 2023-Mar-20 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ environment variables, windows ⬩ 📚 Archive

Windows has several default environment variables for values and paths. I prefer to use these environment variables instead of the absolute paths in commands, scripts and programs. This is because using variables makes the usage portable and agnostic and works the same no matter who is the user or the system it is used on.

View environment variables

List of variables

For this list of environment variables, I assume a user named archimedes, a computer named aragon and a company named


© 2023 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘📧