{Edit; Les beat me too it...}

Also... if you are looking to use the environmental variable its PROGRAMFILES.

ECHO "^%PROGRAMFILES^%\MY APP"

On a side note, I could have sworn that if you echo a variable and it wasn't defined it would just display nothing, but when I am trying it right now on a XP SP2 box, its echoing whatever I type if the var is not defined... I must be getting this confused with something else.


Edited by Allen (2005-12-29 08:39 PM)