WAD TCC LE pipe fails

Apr 8, 2013
3
0
I've been running into this problem since I upgraded from 4nt v3.0.0B to to TCC LE v13.05.69

When piping output I've found that doing two or more pipes in-line gives a bogus error, see below.

[C:\Users\ron]ver

TCC LE 13.05.69 Windows 7 [Version 6.1.7601]
[C:\Users\ron]dir | head -3

Volume in drive C is OS Serial number is 0e81:40ab
Directory of C:\Users\ron\*

[C:\Users\ron]dir | wc -l
24

[C:\Users\ron]dir | head -3 | wc -l
TCC: (Sys) The system cannot find the file specified.
"C:\Apps\utils\TCC.EXE"

As you can see, individually I can pipe the output to 'head' or 'wc' (both are cygwin utilities), but if I try to pipe the output more than once, it fails with a bogus error.

Is there a fix for this?

Thanks
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,469
88
Albuquerque, NM
prospero.unm.edu
I have no problem with multiple pipes here; but I'm not using the CygWin utilities. Can you replicate your issue using ye olde FIND filter?

Code:
dir | find "bytes" | find "bytes"

You should probably also post your TCSTART.BTM, if you have one.
 
Apr 8, 2013
3
0
Thanks for the quick response.. same problem with 'find'. Just to be sure I confirmed it was the windows find and not some cygwin utility.

Code:
[C:\Users\ron]which find
find is an external : C:\Windows\system32\find.exe
 
[C:\Users\ron]dir | find "bytes" | find "bytes"
TCC: (Sys) The system cannot find the file specified.
 "C:\Apps\utils\TCC.EXE"

I don't have a TCSTART.BTM but you got me thinking that maybe there is some nuance about the way I have TCC LE installed that is breaking the pipe. I have all the TCC LE binaries (exe, dlls, etc) copied into a utility folder, which I deploy directly onto computers I am administering without having to do a full blown TCC LE from the installer. I copy all the files off of a memory stick into c:\apps\utils, and add that folder directly to the system path. I wonder if the double-pipe is dependent on registry setting I do not have since I did not do a real install of TCC.

I'm going to re-test on a clean machine with properly installed copy of TCC LE and see if the problem goes away. Unless you happen to have set of no-install-needed "run from a memory stick" instructions I should be looking at?

Thanks

Ron

I have no problem with multiple pipes here; but I'm not using the CygWin utilities. Can you replicate your issue using ye olde FIND filter?

Code:
dir | find "bytes" | find "bytes"

You should probably also post your TCSTART.BTM, if you have one.
 
Apr 8, 2013
3
0
Confirmed that if I install TCC LE properly, the pipe|pipe works as expected. Dumping tcc.exe and *.dll from c:\program files(x86)\jpsoft\tccle13 into a utility folder on another PC must be the issue. I was getting away with it until now.

Thanks for the quick response.. same problem with 'find'. Just to be sure I confirmed it was the windows find and not some cygwin utility.

Code:
[C:\Users\ron]which find
find is an external : C:\Windows\system32\find.exe
 
[C:\Users\ron]dir | find "bytes" | find "bytes"
TCC: (Sys) The system cannot find the file specified.
"C:\Apps\utils\TCC.EXE"

I don't have a TCSTART.BTM but you got me thinking that maybe there is some nuance about the way I have TCC LE installed that is breaking the pipe. I have all the TCC LE binaries (exe, dlls, etc) copied into a utility folder, which I deploy directly onto computers I am administering without having to do a full blown TCC LE from the installer. I copy all the files off of a memory stick into c:\apps\utils, and add that folder directly to the system path. I wonder if the double-pipe is dependent on registry setting I do not have since I did not do a real install of TCC.

I'm going to re-test on a clean machine with properly installed copy of TCC LE and see if the problem goes away. Unless you happen to have set of no-install-needed "run from a memory stick" instructions I should be looking at?

Thanks

Ron
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,469
88
Albuquerque, NM
prospero.unm.edu
I still can't reproduce this, even running the current TCC/LE from a flash stick on a brand-new, virgin reimaged PC. You might try updating to the current version 13.06.75....
 

rconn

Administrator
Staff member
May 14, 2008
12,367
150
Confirmed that if I install TCC LE properly, the pipe|pipe works as expected. Dumping tcc.exe and *.dll from c:\program files(x86)\jpsoft\tccle13 into a utility folder on another PC must be the issue. I was getting away with it until now.

Simply copying files is definitely not going to work; there are several (critical) things the installer is doing besides copying files.

You should also ensure that your system COMSPEC is set correctly.
 
May 20, 2008
11,432
99
Syracuse, NY, USA
Simply copying files is definitely not going to work; there are several (critical) things the installer is doing besides copying files.

You should also ensure that your system COMSPEC is set correctly.
What's "correct" for COMSPEC? I leave it set to the default (cmd.exe) relying on the fact that each TCC sets it to itself. I haven't run into any problems.
 
Similar threads
Thread starter Title Forum Replies Date
Jesse Heines Request for TCC Date Command Custom Format Example TCC/LE Support 4
P TCC LE crashes without any info after recent windows updates TCC/LE Support 3
V TCC LE doesn't expand %~ff correctly TCC/LE Support 5
A vcvarsall.bat command not working on TCC LE command prompt TCC/LE Support 16
M DEBUG dialogs from TCC TCC/LE Support 1
Captain'Flam False condition in IF force loop exit (TCC/LE 14 64bits) TCC/LE Support 3
M How to get the number of chars, which fit in the currently displayed TCC-window? TCC/LE Support 3
M TCC/LE works with Windows Insider Skip Ahead Build 17618 TCC/LE Support 1
D Bug with TCC/LE and volumes mounted under directories TCC/LE Support 5
B Error in TCC/LE when succeed smoothly in native windows cmd.exe TCC/LE Support 6
A TCC/LE x64 no longer works with Windows 10 Insider Preview Build 17063 TCC/LE Support 7
adam_0 TCC/LE string replacement differing from cmd.exe TCC/LE Support 3
D Incorrect icon for TCC/LE prompt here, Windows 10 TCC/LE Support 5
B Run TCC without interactive logon TCC/LE Support 0
T WAD option /u on TCC LE 13.06.77 TCC/LE Support 2
B Copy command to set timestamp not working in TCC/LE TCC/LE Support 5
R WAD TCC/LE does not set %_ffind_files TCC/LE Support 1
P Window width TCC TCC/LE Support 3
A installer for latest tcc/le isn't working TCC/LE Support 0
M Any plans for an updated TCC/LE version TCC/LE Support 16
miXza-81 Fixed There is Batch breaking bug in TCC LE (x64) TCC/LE Support 9
M Getting started with TCC/LE TCC/LE Support 3
John A TCC/LE not finding files in the c:\windows\system32\ directory? TCC/LE Support 4
Tim Rowe How to? TCC/LE colour not working with RSpec TCC/LE Support 14
R converting from NT to TCC/LE TCC/LE Support 3
jbanaszczyk [Q] How to retrieve / set current TCC/LE language TCC/LE Support 1
T C# Process.Start() never ends when starting TCC/LE process? TCC/LE Support 5
M TCC LE x64 13.0 crash in Win 8 Pro 64-bit TCC/LE Support 0
A ftp on tcc/le TCC/LE Support 2
B What are the TCC settings that will allow maximum cmd.exe compatibility? TCC/LE Support 11
R TCC/LE attrib +/- C? TCC/LE Support 6
S Just wondering what TCC/LE 13.05.68 fixed TCC/LE Support 1
R TCC/LE steals the .btm association? TCC/LE Support 1
S Fixed TCC-LE 13.05.65 x64 "option" command tabs broken TCC/LE Support 4
rconn News TCC/LE 13.05 Released TCC/LE Support 0
F WAD Different value for %~dpfsI in TCC/LE TCC/LE Support 2
Charles Dye ? command, TCC/LE vs. supported TCC/LE Support 3
B TCC/LE prompt here TCC/LE Support 1
G Pin TCC/LE to task bar and start menu TCC/LE Support 6
jason404 A particular program that I like to use no longer works in TCC/LE TCC/LE Support 25
rconn News TCC/LE 13.04.56 Released TCC/LE Support 0
rconn News TCC/LE 13.04.55 Released TCC/LE Support 0
F Problem with TCC window colors TCC/LE Support 3
rconn News TCC/LE Version 13.03.45 Released TCC/LE Support 0
mfarah Things from the full TCC that I'd like to see in TCC/LE. TCC/LE Support 7
N how to terminate tcc/le using /h TCC/LE Support 15
rconn News TCC/LE Version 13.03.40 Released TCC/LE Support 0
rconn News TCC/LE 13.03.39 Released TCC/LE Support 0
R How to? Add TCC Open command box here to context menu TCC/LE Support 2
rconn News TCC/LE 13.03.38 Released TCC/LE Support 0

Similar threads