I am trying to send my console output from a program (test.exe) to a file but it is not working. The syntax I am using is:
test > file.txt
The command does stop all output appearing on my screen but it doesnt appear in the file tho, it just vanishes.
The file is created but is zero bytes.