Is there any way I can redirect the output of a console program, so that it's not printed to the command line interpreter, but for instance to a file? I would like to write my own pseudo-command line interpreter - that is have windows run all the commands but display the output in my own program. Is this possible without assembler?