https://bugs.winehq.org/show_bug.cgi?id=40482
--- Comment #7 from Damjan Jovanovic damjan.jov@gmail.com --- Created attachment 64894 --> https://bugs.winehq.org/attachment.cgi?id=64894 start cmd with CreateProcessW() instead of ShellExecuteEx()
The problem is that Wine's start.exe uses ShellExecuteExW() to launch the program, which doesn't have a way to specify the title, so the passed title is just ignored.
If I hack it to use CreateProcessW() instead, as per the attached patch, and run:
wine start ""hello"" \Windows\system32\cmd.exe
(note that a leading C: breaks it) then the wineconsole windows gets a title of "hello".
start.exe clearly needs considerable improvement.