Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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.