Executing a command with command line parameters (on Windows 8.1 64bit) works fine
test.pbrt --ncores 1
or
test.pbrt [--ncores 1]
Executing a command and writing the output to a text file (on Windows 8.1 64bit) works fine
test.pbrt > test.txt
How can you combine both of them (without generating a separate bat file)? The following seems to ignore the command line argument and even stops outputting to the command line (only outputs to the text file).
test.pbrt --ncores 1 > test.txt
Edit: .pbrt is an ascii text file, the default program for opening those files is an executable file I created