http://bugs.winehq.org/show_bug.cgi?id=28037
--- Comment #3 from Iip Umar Rifai iip.umar.rifai@gmail.com 2012-09-13 11:35:38 CDT --- the same problem on Wine 1.5.12:
echo hello>test.txt if 1==1 echo hello2>>test.txt
First line is ok but the second line were still output: Sharing violation.