shell32: SHELL_execute() tries to extract program name and arguments from SHELLEXECUTEINFOW.lpFile

Илья Басин basinilya at
Mon Jan 25 03:34:13 CST 2010

At first sight there's a strange behavior in SHELL_execute() (read
ShellExecuteEx() ): at tries to extract program path and arguments
from SHELLEXECUTEINFOW.lpFile, if it's unquoted.
On WinXP at least ShellExecuteExA() doesn't do it/ haven't yet tested
with ShellExecuteExW(). This is harmful when you have 2 documents like
"C:\aaa.txt" and "C:\aaa.txt bbb.txt"

Found an old thread about this, but it seems abandoned.

More information about the wine-devel mailing list