If the OP is using real DOS then you are correct, but if cmd.exe is being used (more likely) then the syntax is similar to the Bourne, Bash, and Korn shells. Windows console processes use the first three file handles (0, 1, 2) in the same way as UNIX processes use the first three file descriptors.