Redirection in for command does not work

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Jul 6, 2012
I'm using tcc/le 13.06.77 and have a problem with the following command
for /F %j in ('java -version 2^>^&1') do (echo %j)
in cmd.exe it prints a few "java" lines, but in tcc it just displays the stderr

Thanks Aleh
I am not sure it's in the LE version but in the full version there is a Duplicate CMD bugs option; Sicne you get different results in CMD and in TCCLE this might help.

- type Option and press enter
- in first screen look for and select Duplicate CMD bugs and set it ON

See if this helps -