I think I got it:

I need to insert 'Go' command in the script somewhere, then the @curdir and the %0\.. will be right instead of going to c:\winnt.

_________________________
We should learn from the past... therefor nowadays we students know already the answers before the exam will be given...