FFIND TPIPE

Aug 9, 2009
230
1
None of the above find data in streams. Help specifically says FFIND can under NTFS File Streams section.

Mon 5/08/19 16:51
c:\lps>dir /:b Test
Test
Look:$DATA

Mon 5/08/19 16:51
c:\lps>type Test:Look
January
February
March
April
May
June
July
August
September
October
November
December
Mon 5/08/19 16:51
c:\lps>ffind /l/t"November" Test:Look
TCC: (Sys) The system cannot find the file specified.
"Test:Test"

0 lines in 0 files

what am I missing... hmm i see that ffind is looking for test:test not the file specified
 
May 20, 2008
11,414
99
Syracuse, NY, USA
It finds the stream but doesn't display the name correctly.
Code:
v:\> dir /k /m /: timecheck.btm
2019-07-11  12:37           1,267  timecheck.btm
                              853    nist.txt:$DATA
                              297    nonnist.txt:$DATA

v:\> ffind timecheck.btm:nis*
V:\timecheck.btm

      1 file

v:\> ffind timecheck.btm:foo*

      0 files

I don't know if it should find the text. Maybe it's just a matter of the name.
 

rconn

Administrator
Staff member
May 14, 2008
12,363
150
The help is wrong; FFIND has never supported streams.

There's actually two issues here:

1) Because the filename doesn't have a path or an extension, TCC is interpreting it as a Netware / Lanman name. This is really old code that can probably be safely removed.

2) Even when the stream name is actually passed to FFIND (i.e., with a path or extension), FFIND is only looking at the filename part.

If this is a feature you need, you can post it in the Suggestions Forum.
 
FFIND seems to work with a Pipe to find text in a stream;
Code:
e:\utils>copy con test
con => E:\Utils\test
Line 1
^Z
     1 file copied

e:\utils>copy con test:look
con => test:look
January
February
March
April
May
June
July
August
September
October
November
December
^Z
     1 file copied

e:\utils>type test
Line 1

e:\utils>type test:look
January
February
March
April
May
June
July
August
September
October
November
December

e:\utils>type test:look | ffind /l/t"November"

---- CON
[11] November

  1 line in      1 file

Joe
 
Aug 9, 2009
230
1
Thanks Joe that's how i got it to work.

On its own native syntax for each cmd it wont work
 
Aug 9, 2009
230
1
TO ALL JPSOFTWARE authors users my apologies TPIPE, RTFM problems. tpipe is good real good alongside tcc its brilliant
 
Similar threads
Thread starter Title Forum Replies Date
Joe Caverly Multiple Text Searches at once using FFIND or TPIPE Support 4
J ffind does not find files Support 4
D ffind hangs on large file Support 18
Alpengreis ffind dialog (/W) problem Support 4
vefatica FFIND, temp files? ... not deleted? Support 0
S FFIND text that includes " Support 7
D ffind /e hangs Support 7
vefatica FFIND needs work Support 12
Gamegod ffind bug with chinese Support 2
vefatica FFIND and multi-line regular expressions Support 4
vefatica Make FFIND a bit more friendly? Support 14
M Trying to use ffind with a @file.lst doesn't work Support 4
vefatica Corruption from FFIND? Support 5
vefatica FFIND /S and System32? (and an OT mystery) Support 14
T FFind - can we display n number of lines after the find? Support 2
vefatica Help nit (FFIND and DIR with /S) Support 0
R ffind not setting %_ffind_ vars if /f is used Support 7
M FFIND wordA AND wordB Support 4
vefatica FFIND and _? Support 1
B Fixed FFIND doesn't find last character in file without CR/LF at EOF Support 1
dcantor How to make line numbers fixed width in FFIND Support 11
vefatica FFIND /S, find directory with specified name? Support 7
D Why doesn't ffind find directory? Support 3
C FFind /w works but FFind /= doesn't? Support 2
vefatica FFIND goes crazy Support 8
Stefano Piccardi TCC 13 vs. TCC 14 different FFIND /E"d$" output Support 1
Steve Pitts How to? FFIND, regular expressions and double quotes Support 4
vefatica FFIND /S in my profile directory Support 2
A How to? Pass output from ffind to another command in a BTM file Support 5
Phileosophos Can FFIND match file names with a regular expression? Support 19
vefatica FFIND and size ranges Support 1
R How to use ffind to find older files? Support 9
J How do I - ffind - with multiple items Support 10
M FFIND and LIST does not work for UTF-8 fles Support 10
C FFIND ERRORLEVEL Support 2
L FFIND no result display Support 10
H Directory wildcards not working with ffind Support 3
D ffind and directories Support 2
Stefano Piccardi detecting BOM, FFIND multibyte regex Support 18
dcantor FFIND syntax -- is /E"regex" /X supported? Support 2
S FFIND and quoted strings Support 4
S FFIND /E"reg exp" : not case insensitive Support 4
J Problem with FFIND Support 1
samintz How to? TPIPE /simple=61 Support 6
R Bug TPIPE's pdf to text conversions don't work Support 2
Kachupp How to? tpipe Support 4
H TPIPE /simple=4 Support 12
D TPIPE produces unwanted logs. Support 1
Kachupp How to? tpipe Support 8
vefatica Documentation TPIPE, /perl, DotMatchesNewLines Support 1

Similar threads