Hey,I am now working on a wince project. I often encounter "2>&1" in batch file.
It often looks like this:
@REM // cleanup error log file and set local env
if not "%___BATCHMODE%"=="" goto endif_25
setlocal
del %_WINCEROOT%\build.err > nul 2>&1
del %_WINCEROOT%\build.log > nul 2>&1
del %_WINCEROOT%\build.wrn > nul 2>&1
:endif_25
I know:
2>:redirects error output of a program to a file.
&:separates two or more commands executed sequentially.
But I do not know what does "2>&1" mean?
Please help!
Thanks in advance.