Redirection in for command does not work

Jul 6, 2012
9
0
Hi
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
 
Apr 2, 2011
1,429
10
54
North Carolina, USA
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.

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

See if this helps -
 
Similar threads
Thread starter Title Forum Replies Date
R Danish character redirection problem TCC/LE Support 5
Jesse Heines Request for TCC Date Command Custom Format Example TCC/LE Support 4
A vcvarsall.bat command not working on TCC LE command prompt TCC/LE Support 16
T Cursor-up for last command TCC/LE Support 4
B A command crash report TCC/LE Support 1
B Copy command to set timestamp not working in TCC/LE TCC/LE Support 5
D The output of apm command is disordered. TCC/LE Support 1
M Bug in RENAME and KEYSTACK command? TCC/LE Support 9
C WAD Executing rename.py -y trigger internal rename command TCC/LE Support 5
G WAD Windows 10 - ver command TCC/LE Support 6
C Incompatibility with cmd.exe dir command TCC/LE Support 3
S Take Command 16.00.45 update crashed TCC/LE Support 2
A command typed? TCC/LE Support 12
CaptainFlint Command grouping differs from cmd? TCC/LE Support 22
S Fixed TCC-LE 13.05.65 x64 "option" command tabs broken TCC/LE Support 4
G unknown command (newbie post - be gentle) TCC/LE Support 3
Charles Dye ? command, TCC/LE vs. supported TCC/LE Support 3
O How to? Maintain command line history between reboots TCC/LE Support 8
C How to close Take Command? TCC/LE Support 2
Frank a question to "Take Command 13.04.52 Released" TCC/LE Support 3
J Help with Log Command TCC/LE Support 1
R How to? Add TCC Open command box here to context menu TCC/LE Support 2
jason404 Is there a command equivalent to ls -a in bash? TCC/LE Support 3
fpefpe time command -- time server TCC/LE Support 3
G What does this error means: TCC: Unknown command "C:\Program" TCC/LE Support 13
T trouble with start /runas command TCC/LE Support 1
L Windows 10, OOrexx does not work TCC/LE Support 12
R WAD TCC/LE does not set %_ffind_files TCC/LE Support 1
L Changing directory with 'cd ~' does not work TCC/LE Support 9
R it seems to me that *dir /O:u does not work in ntfs drives TCC/LE Support 3
W TCC LE cmd window does not disappear on exit in Win7 TCC/LE Support 2
S Windows 7 - Why does nbtstat not work? TCC/LE Support 1

Similar threads