Windows: command prompt output redirect to file
Self-tutoring about Windows: the tutor mentions how to direct command prompt output to a file.
In my experience, just entering the command, then >> outfile.txt will send the output to outfile.txt. For instance,
dir >> outfile.txtwill send the output of the dir command to the file outfile.txt.
I think > will wipe the output file clean and write the current command’s output on top; >> will append the command’s output to whatever is already in the file.
Source:
Jack of Oracle Tutoring by Jack and Diane, Campbell River, BC.
Leave a Reply
You must be logged in to post a comment.