Batch streams

From wikinotes
Revision as of 01:24, 12 October 2018 by Will (talk | contribs) (→‎stream operators)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

stream operators

REM replace file
echo "test" > C:/test.txt

REM append file
echo "test" >> C:/test.txt

REM redirect stdout/stderr
DIR SomeFile.txt 2>&1