Ensure use the system find and findstr command instead find/findstr from path. Fix #1959

This commit is contained in:
Daniel Chesters
2018-11-22 21:14:02 +01:00
parent a226019d5a
commit 036cf09360
5 changed files with 12 additions and 12 deletions

View File

@ -52,7 +52,7 @@ set "feFlagName=%feFlagName% "
:: echo %feCommand%
:: echo %feParam%
:: echo.
echo %CMDER_USER_FLAGS% | find /i "%feFlagName%">nul
echo %CMDER_USER_FLAGS% | %WINDIR%\System32\find /i "%feFlagName%">nul
if "%ERRORLEVEL%" == "0" (
if "%feNOT%" == "false" (
endlocal && call %feCommand% %feParam%