mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
parent
c94ca8128d
commit
932a812c66
1 changed files with 5 additions and 0 deletions
|
@ -2422,6 +2422,11 @@ HRESULT WINAPI ShellExecCmdLine(
|
|||
else
|
||||
{
|
||||
pchParams = SplitParams(lpCommand, szFile, _countof(szFile));
|
||||
if (szFile[0] != UNICODE_NULL && szFile[1] == L':' &&
|
||||
szFile[2] == UNICODE_NULL)
|
||||
{
|
||||
PathAddBackslashW(szFile);
|
||||
}
|
||||
if (SearchPathW(NULL, szFile, NULL, _countof(szFile2), szFile2, NULL) ||
|
||||
SearchPathW(NULL, szFile, wszExe, _countof(szFile2), szFile2, NULL) ||
|
||||
SearchPathW(NULL, szFile, wszCom, _countof(szFile2), szFile2, NULL) ||
|
||||
|
|
Loading…
Reference in a new issue