문제

does anyone know why this would not work (Windows 7, batch script)?

C:\testing>FINDSTR /R /N "^.*$" test.txt | FIND /C ":"

FIND: `/C': No such file or directory
FIND: `:': No such file or directory
도움이 되었습니까?

해결책

try with :

FINDSTR /R /N "^.*$" test.txt | %windir%\system32\FIND.exe /C ":"

Meanwhile with:

for %f in (find.exe) do @echo %~dpfnx$PATH:f

(double % for batch file) you can see which FIND.EXE will be executed.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top