diff --git a/dll/win32/shell32/shlexec.cpp b/dll/win32/shell32/shlexec.cpp index 09ccfec0a3d..6b7878d6f28 100644 --- a/dll/win32/shell32/shlexec.cpp +++ b/dll/win32/shell32/shlexec.cpp @@ -2414,7 +2414,7 @@ HRESULT WINAPI ShellExecCmdLine( } } - if (UrlIsFileUrlW(lpCommand)) + if (PathIsURLW(lpCommand) || UrlIsW(lpCommand, URLIS_APPLIABLE)) { StringCchCopyW(szFile, _countof(szFile), lpCommand); pchParams = NULL;