The following line fails when run in tcc/le but not when run in cmd.exe (it is part of a batch file)
for /F %%v in ('echo %1^|findstr "^start$ ^stop$ ^restart$ ^install$ ^remove$ ^query$ ^ping$ ^setup"') do call :exec set COMMAND=%%v
The errors I get is:
FINDSTR: Cannot open ping$
FINDSTR: Cannot open etup >! C:\DOCUME~1\mortenk\LOCALS~1\Temp\FOR252.tmp
If I remove two of the "targets" (e.g. ^remove$ and ^query$) findstr works as intended.
Thanks for a great product
Morten
for /F %%v in ('echo %1^|findstr "^start$ ^stop$ ^restart$ ^install$ ^remove$ ^query$ ^ping$ ^setup"') do call :exec set COMMAND=%%v
The errors I get is:
FINDSTR: Cannot open ping$
FINDSTR: Cannot open etup >! C:\DOCUME~1\mortenk\LOCALS~1\Temp\FOR252.tmp
If I remove two of the "targets" (e.g. ^remove$ and ^query$) findstr works as intended.
Thanks for a great product
Morten