I have a batch-file program that gets called from another batch-file so I can redirect error output to a file. When you run the commmand START /B "C:\Some\Script" 2>"C:\Some\Log.log" Is the redirection recognized as an argument?
Just a question with no real usefulness (at least that I can tell), just asking out of curiousity.
No, it doesn’t. Try using this as your test script to verify:
In that file, argC is the number of arguments. (Source: Wikibooks, via this answer.)