The problem is NOT the file assosiation, I stated before that .kix is associated with notepad and the command works fine if the $CURRENTPATH is "C:\Documents and Settings" instead of "C:\Some Sources (KIX)\WIP".