hmm hold the phone, this:

C:\>echo "^%PROGRAMFILES^%\MY APP"

gives this:

"^%PROGRAMFILES^%\MY APP"

i'm looking for the input string that will give this:

"%PROGRAMFILES%\MY APP"