https://bugs.winehq.org/show_bug.cgi?id=44139
--- Comment #7 from Fabian Maurer dark.shadow4@web.de --- Created attachment 59897 --> https://bugs.winehq.org/attachment.cgi?id=59897 Minimal test case batch file
Sorry, this was a red herring. Real issue is special syntax in "IF (NOT) EXISTS" that wine doesn't like:
IF EXIST "%PROGRAMFILES%\HackingToolkit9DS*.*"