- May
- 13,817
- 211
I want to do
In real life, I want to pipe the output of
How do I work around this?
command1 | command2
. It fails when command1 contains an odd number of double_quotes because the pipe character is seen as being quoted. Here's an overly simple example.
Code:
v:\> echo "" | findstr /r .
""
v:\> echo """ | findstr /r .
""" | findstr /r .
In real life, I want to pipe the output of
echo %@function[]
, so I have no control over what's echoed, and I can't setdos /x-7
because that will turn off the special meaning of [ and ].How do I work around this?