Get in the dir where you want to start

dir *findthis* /b /s >list.txt

The /b keeps it from being formated (break by dir)
The /s looks in sub dir

I could not get this to pipe into the find command.

John Ross

Peter Vidal wrote:

dir dirname\ /b  > filename.txt



----------------------------------------------------

Based on this approach, how can I specify for a specific string ("ABC123") that I want to look into any of these files in this directory and then create the file for just with the files names with this value in it?





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.