Oh, that's not exactly what I meant... I was rather trying to say that it shouldn't be there.
So, you are saying that with a backslash at the end it works, and without it it doesn't work?
What is the exact content of the TMP and TEMP variables? I mean - the content you see when you select the variables in the "System Properties" and click on Edit, not the expanded ones (both system and user, if possible).
Thanks!\