http://bugs.winehq.org/show_bug.cgi?id=33635
Bug #: 33635 Summary: wine cmd executes text inside comments as commands. Product: Wine Version: 1.5.29 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: cmd AssignedTo: wine-bugs@winehq.org ReportedBy: loentar@gmail.com Classification: Unclassified
Created attachment 44521 --> http://bugs.winehq.org/attachment.cgi?id=44521 script to reproduce bug
When command script has "::" style comments and symbol "|" appear inside that comment wine cmd executes that text as commands (think it recognizes it as generic commands with pipe redirection).
For example if you create command script like that and start it you will see empty file "cmd_output", error "can't find another test" and started notepad:
:: some text that is ignored | dir >cmd_output | another test | notepad
Note when I replace "::" to rem, this error goes out.