What do the & and | operators do in a batch file?
Posted
by Sam
on Stack Overflow
See other posts from Stack Overflow
or by Sam
Published on 2010-06-15T17:46:50Z
Indexed on
2010/06/15
17:52 UTC
Read the original article
Hit count: 286
I'm debugging a batch file left behind by an old employee and I've come across the line:
@nmake -f makefile /E 2>&1 | tee %LOGFILEPATH%
What does this do?
I know what @nmake -f makefile /E
does and I know what tee %LOGFILEPATH%
does, but I can't find anything on what the 2>&1 |
means.
Thanks
© Stack Overflow or respective owner