1.

Solve : How to: Write Console output to *.txt file?

Answer»

Thanks:
I want to Write Console OUTPUT to *.txt FILE .
In other words write every thing that shows in a cmd.exe window to a *.txt file.
Thanks!Have a look at this:

Code: [Select]echo hello >>"C:\file.txt"When you say console it can mean the keyboard or the output. But you can not get all of the DISPLAY, just the output of a command or standard program.
Like dir *.txt /b >list
creates a file NAMED 'list' that has all the NAMES of the files in the directory
but no other information.
ver > whoru
writes the version info in a file named 'whoru'.

Sorry, I don't know.



Discussion

No Comment Found