Quote:

Will this work?



Probably not

Try clearing the value as I've described above. This will definately get the command-to-execute correct.

At least you don't have spaces in the paths anywhere, or that would cause even more problems!

The next issue is whether CPAU will expand the environment variables, but you should be able to test that yourself with a test script.