View Single Post
  #15  
Old December 24th 12, 07:35 PM posted to microsoft.public.win98.gen_discussion
Franc Zabkar
External Usenet User
 
Posts: 1,702
Default A better file search tool

On Mon, 24 Dec 2012 10:52:44 +0000, "J. P. Gilliver (John)"
put finger to keyboard and composed:

In message , Franc Zabkar
writes:
On Mon, 24 Dec 2012 07:25:03 +1100, Franc Zabkar
put finger to keyboard and composed:

On Sat, 22 Dec 2012 16:30:54 -0600, put finger to
keyboard and composed:

I was not aware of putting the file-prefix in stars.
I only knew to use the old dos *.mp3 command.

dir *.mp3 /s /b | find /i "beatles" beatles.txt


... or ...

dir "*beatles*".mp3 /s /b beatles.txt

- Franc Zabkar


I think both of those are assuming beatles is in the filename rather
than the ID3 tags.


I don't know if the following is reliable for binary files, but it
does appear to work.

for %i in (*.mp3) do find /i /c "beatles" %i results.txt
find /v ": 0" results.txt | find "----------" beatles.txt

- Franc Zabkar
--
Please remove one 'i' from my address when replying by email.