https://bugs.winehq.org/show_bug.cgi?id=55859
--- Comment #3 from Fabian Maurer dark.shadow4@web.de --- My setup is a bit weird right now, but it seems also be related to the exit codes of net.exe / sc.exe. Need to retest though.
Another issue that is definitely a difference from windows behavior is the following bat snippet:
------ @echo off setlocal enabledelayedexpansion set RABBITMQ_SERVICENAME="test kest" if "!RABBITMQ_SERVICENAME!"=="" ( echo Hi ) ------ This gives a "Syntax error" on Wine, in Windows not. Not sure why "winetricks cmd" doesn't work though... It works when running "wine cmd" but not when installing. Weird.
I'm afraid there is a bunch of issues at play here...