I think I understand your problem... as long as PROGRAMFILE is set to something the following should work...

ECHO "%%PROGRAMFILE%%\MY APP"
_________________________
(... better days ahead)