There's a block of code in dlls/shell32/shlexec.c http://source.winehq.org/git/wine.git/?a=blob;f=dlls/shell32/shlexec.c;h=a81...
It specially handles lpFile with '"' or containing spaces. Does anyone know a real situation when you need this handling? If I disable this block: /* separate out command line arguments from executable file name */ if (0 && !*sei_tmp.lpParameters && !appKnownSingular) { my tests succeed, but there may be others, that I'm currently trying to find.