Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I can't get any environment variables to work besides Java. Here's a picture to show what I mean:

enter image description here

Can anyone help out?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

Environment variables don't work like that.

To substitute the value of an environment variable, use %VariableName%.
Thus, you can write `%CACHE%.

java is working because java.exe is already in the system %PATH%.

share|improve this answer
Ah, what a blind mistake I made. Thanks! –  James Sep 23 '11 at 0:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.