Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

redirect batch file output

@echo off
echo "All output (stdout and stderror) will be redirected to output.txt"
powercfg /a > output.txt 2>&1
 
PREVIOUS NEXT
Tagged: #redirect #batch #file #output
ADD COMMENT
Topic
Name
6+6 =