FileUtils @ISABATCH feature request

May 29, 2008
533
3
Groton, CT
#1
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.
 
May 29, 2008
533
3
Groton, CT
#3
Thanks for the quick addition, Charles.

Well, you can't invoke a .BAT file if you make an entry for it in AppPaths, but this addition allows @ISABATCH to return the name of a .COM or .EXE file found in AppPaths when invoked with flags=130 (or 131). Thank you. (Without the 128 flag, but with the 2 flag, @ISABATCH returns 0 if it finds .COM or .EXE in AppPaths, but the status 0 is indistinguishable from the status 0 for target not found.)