This is still not working for me So, calling this from my application. ShellExecute( NULL, NULL, "linuxbinary", "1", "C:\\Temp\\Application\\linux", SW_SHOW); Produces. 0024:trace:shell:PathFindOnPathExW (L"linuxbin",077D78A4,000000bf) 0024:trace:shell:PathFileExistsDefExtW (L"C:\\Temp\\Application\\linux\\linuxbin",191) 0024:trace:shell:PathFileExistsDefExtW (L"C:\\Temp\\Application\\linuxbin",191) 0024:trace:shell:SHLWAPI_PathFindInOtherDirs (L"linuxbin",000000bf) 0024:trace:shell:PathFileExistsDefExtW (L"C:\\windows\\system32\\linuxbin",191 ..... The first call to PathFileExistsDefExtW, is the exact location but for some reason it wants to continue looking though every search path. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5400#note_68667