It works well other places in the script? And I get the same problem if I don't use %0\.., so I expect it is something else.