Search found 1 match

by trelf
25 Mar 2020 11:02
Forum: DOS Batch Forum
Topic: Copy all previous cmd output and write into a file
Replies: 3
Views: 5181

Re: Copy all previous cmd output and write into a file

So, ultimately, what you want is called redirection. To take a command's output, and create a file w/ it, you'd use: command > path:\to\filename.ext Example: doskey /history > output.txt That will redirect all of doskey /history's output to output.txt in the current working dir. Now, you also mentio...