@Peter Dragon,
You are right. Maybe I posted to quickly, but no matter what $cmd I use (dir|date|xxxx.exe) it will always fail on my Windows7 x64 machine.
It looks very strange to me that you can use a system call in that way. Normally you use something like `$cmd` or system() to execute a system call.