http://bugs.winehq.org/show_bug.cgi?id=28037
--- Comment #4 from Iip Umar Rifai iip.umar.rifai@gmail.com 2012-09-13 11:48:30 CDT --- for now the temporary solution is adding cmd /c berfore the command..it seem works.
cmd /c if 1==1 echo hello2>>test.txt