By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!You saw the command, "dir /s v:\ | view". That's what I meant. The rest of the output has the expected headers.Did you forget to use /B for bare?
Or whatever the switches are to not show the header or the footer.
TCC 18.00.30 x64 Windows 7 [Version 6.1.7601]
Copyright 2015 JP Software Inc. All Rights Reserved
Registered to Charles S. Galloway - 5 System License
FixNames v0.28.0 loaded.
[C:\Program Files\JPSoft\TCMD18_x64]dir | view
TCC: (Sys) C:\TCMD\TCEXIT.btm [3] The system cannot find the file specified.
"fixnames"
TCC: C:\TCMD\TCEXIT.btm [5] No aliases defined
[C:\Program Files\JPSoft\TCMD18_x64]
Pretty much the same:Vince, try it without your TCSTART / aliases / plugins.
v:\> v:\> TCC: (Sys) The parameter is incorrect.
"in"
v:\> TCC: Unknown command "Directory"
v:\> v:\> TCC: (Sys) The system cannot find the path specified.
"V:\"
v:\> TCC: (Sys) The system cannot find the path specified.
"V:\"
v:\> TCC: (Sys) Access is denied.
"V:\empty"
v:\> TCC: (Sys) Access is denied.
"V:\foo"
v:\> TCC: (Sys) Access is denied.
"V:\ProgramData"
v:\> TCC: (Sys) Access is denied.
"V:\prospero"
v:\> TCC: (Sys) Access is denied.
"V:\test"
v:\> TCC: Unknown command "2015-08-14"
v:\> TCC: Unknown command "2014-11-17"
v:\> TCC: Unknown command "2015-05-18"
SNIP
Other crazy things happen ion TCMD with pipes ... things that don't happen in consoles. Here's the partial result of "dir | cls"
Pretty much the same:
View attachment 888
Not reproducible here (either Vince's or Charles's problems).
Charles - your problem is definitely with your TCSTART (which is trying to do things it shouldn't when piping to an internal command in a child shell).
echo %_PIPE, %_TRANSIENT
PAUSE
IFF %_PIPE EQ 1 THEN
QUIT
ENDIFF
IFF %_TRANSIENT EQ 1 THEN
QUIT
ENDIFF
alias unknown_cmd C:\Z_UserFiles\JPSoft\BTM_000\UC.BTM
plugin /l c:\TCMD\Plugins\fixnames\FixNames-x64.dll
iff %@index["%cmdcmdline",/c type TP] gt 0 .and. %_pipe eq 1 then
rem TPIPE pipe process
if %@regex[^TP\d+\.tmp$,%@word[-0,%cmdcmdline]] eq 1 quit
endiff
alias /r C:\TCMD\alias.txt
window max
IF %_TCTAB == 1 TRANSIENT OFF
Temporary files.How does view pick up piped text, I didn't think the full version understood text on a 4nt pipe.