- May
- 608
- 4
Code:
The flags value lets you alter the function’s operation:
1 search the current directory before the search path
128 return the first matching filename, not a numeric value
Please consider adding
Code:
2 search the apps in the Windows App Paths registry key
(HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths )
after the search path.