Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
Credits 2,278 Posts 1,020 Joined 2007-11-19 13:34 18-year member UID 103127 Gender Male
Status Offline
Why not use the for command to get it directly? I feel like using the pipe symbol should work, but my tests never succeed.
Assign the result of find /c /v "" test.txt
to the variable line, using
set line=|echo|find /c /v "" test.txt
why doesn't it work?