Trying to use ffind with a @file.lst doesn't work

Sep 10, 2009
40
0
I use TCC 22.00.40 x64 Windows 10 [Version 10.0.17134]

I have a file list created with
ffind /n /tsomething *.txt > files.lst

Now I want to use this list to search again for another content
ffind /tsomethingelse @files.lst

The documentation tells me that this should work, but even if the specified contents is there it always says 0 files.

Any idea?
TIA
Martin
 
May 20, 2009
293
5
57
ITALY
In the help for ffind I do not see that it can use a @file, and if I create a text file called "@files.lst" and inside it I write for example "sometext", then "ffind /tsometext @files.lst" finds the "sometext" INSIDE the file called "@files.lst".


Regards

Rodolfo Giovanninetti
 
Sep 10, 2009
40
0
What version are you using.

My file files.lst contains filename swith the extension .cpp.

D:\Dev\Root\Common>type files.lst
D:\Dev\Root\Common\BEx.cpp
D:\Dev\Root\Common\BCtrlEx.cpp
D:\Dev\Root\Common\BHeaderCtrlEx.cpp
...

D:\Dev\Root\Common>ffind /tcpp @files.lst
0 Zeilen in 0 Dateien


Help Index "@File List"
Quote:
A file list is simply a standard text file containing the names of the files to process, one per line. This allows you to create a list of files for processing using output from DIR /B, DIR /F, or FFIND, a text editor, or any other method that produces a file in the proper format. Both absolute and relative paths may be included in the file, However, wildcards are ignored, and each line is processed literally, without any further checking. This means that if a command allows options to restrict operations based on age (/U, /C), ranges (/I..., /[d..., /[t...), attributes (/A:), or location (/S), those restrictions will be ignored when processing the @file contents.
 
May 20, 2009
293
5
57
ITALY
What version are you using.

My file files.lst contains filename swith the extension .cpp.

D:\Dev\Root\Common>type files.lst
D:\Dev\Root\Common\BEx.cpp
D:\Dev\Root\Common\BCtrlEx.cpp
D:\Dev\Root\Common\BHeaderCtrlEx.cpp
...


D:\Dev\Root\Common>ffind /tcpp @files.lst
0 Zeilen in 0 Dateien


Help Index "@File List"
Quote:
A file list is simply a standard text file containing the names of the files to process, one per line. This allows you to create a list of files for processing using output from DIR /B, DIR /F, or FFIND, a text editor, or any other method that produces a file in the proper format. Both absolute and relative paths may be included in the file, However, wildcards are ignored, and each line is processed literally, without any further checking. This means that if a command allows options to restrict operations based on age (/U, /C), ranges (/I..., /[d..., /[t...), attributes (/A:), or location (/S), those restrictions will be ignored when processing the @file contents.

I use TCC 22.00.41 x64 Windows 10 [Version 10.0.17134].
The help says that You can CREATE a file list with ffind, NOT that You can use a file list as input to ffind.
In fact, the help lists commands that can read a @file list, and ffind is not there.
Also, if in Your file list You have files with ".cpp" extension, the ffind command that You use here would try to find the "cpp" text INSIDE the files, not in their names.


Regards

Rodolfo Giovanninetti
 
May 20, 2009
293
5
57
ITALY
...
The help says that You can CREATE a file list with ffind, NOT that You can use a file list as input to ffind.
...
In the Suggestions forum I wrote about enabling ffind to use a @filelist.
If You are interested You might vote there.


Regards

Rodolfo Giovanninetti
 
Similar threads
Thread starter Title Forum Replies Date
T 404 trying to download RT Support 2
R Trying to figure out take command... Support 11
G How to? Trying to create TCC shortcut that opens with blue background (on Windows 8.1 x64) Support 1
MickeyF Trying to read XML Support 3
MickeyF gpf when trying to use tcc.exe on standalone install Support 0
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
Joe Caverly Multiple Text Searches at once using FFIND or TPIPE Support 4
Kachupp FFIND TPIPE Support 9
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
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
J History file load hangs if file has complete garbage in it... Support 1
jdanielp Cannot step into and/or call another .bat file when debugging .bat file Support 2

Similar threads