Find a text file containing a particular phrase.


Subscriber43

Well-known member
Member
VIP
Local time
1:27 PM
Posts
317
OS
Windows 11 RP
In a folder on my data drive, I have hundreds of text (.txt) files I have created or otherwise accumulated over the past decade or so.
A lot of times, I want to find a file containing particular phrases or other content (e.g. all files that contain the word "recursive").

I've tried temporarily copying the folder to the C:\ drive, which is indexed by Windows (including content), but searches always come up empty.
I've tried software like Everything, Wizfile etc. No luck.

An Internet search brings up pages and pages about Windows indexing service, but nothing relevant to my needs.

Any suggestions on accomplishing this are welcome.
Thanks.
 

My Computer My Computer

At a glance

Windows 11 RPAMD Ryzen 5 Pro 3400GE @3.30 GHz (4.0 GHz Turbo)20 GB DDR4 2666 (1x16GB + 1x4GB)AMD Radeon Vega 11
OS
Windows 11 RP
Computer type
PC/Desktop
Manufacturer/Model
Lenovo ThinkCentre M75Q-1
CPU
AMD Ryzen 5 Pro 3400GE @3.30 GHz (4.0 GHz Turbo)
Motherboard
Lenovo 3151
Memory
20 GB DDR4 2666 (1x16GB + 1x4GB)
Graphics Card(s)
AMD Radeon Vega 11
Sound Card
Integrated
Monitor(s) Displays
AOC 2369
Screen Resolution
1920 x 1080
Hard Drives
WD 512 GB NVME + SPCC 240GB SATA SSD
PSU
External 65W
Case
Mini (1L)
In a folder on my data drive, I have hundreds of text (.txt) files I have created or otherwise accumulated over the past decade or so.
A lot of times, I want to find a file containing particular phrases or other content (e.g. all files that contain the word "recursive").

I've tried temporarily copying the folder to the C:\ drive, which is indexed by Windows (including content), but searches always come up empty.
I've tried software like Everything, Wizfile etc. No luck.

An Internet search brings up pages and pages about Windows indexing service, but nothing relevant to my needs.

Any suggestions on accomplishing this are welcome.
Thanks.


Read #2, here...



I think the "and contents" part is what you need.
I would probably turn it back off after you're finished using it.
 

My Computers My Computers

  • At a glance

    Win 11 Home ♦♦♦26200.9168 ♦♦♦♦♦♦♦25H2AMD Ryzen 7 3700XG.Skill (F4-3200C14D-16GTZKW)EVGA RTX 2070 (08G-P4-2171-KR)
    OS
    Win 11 Home ♦♦♦26200.9168 ♦♦♦♦♦♦♦25H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® [May 2020]
    CPU
    AMD Ryzen 7 3700X
    Motherboard
    Asus Pro WS X570-ACE (BIOS 5302)
    Memory
    G.Skill (F4-3200C14D-16GTZKW)
    Graphics Card(s)
    EVGA RTX 2070 (08G-P4-2171-KR)
    Sound Card
    Realtek ALC1220P / ALC S1220A
    Monitor(s) Displays
    Dell U3011 30"
    Screen Resolution
    2560 x 1600
    Hard Drives
    2x Samsung 860 EVO 500GB,
    WD 4TB Black FZBX - SATA III,
    WD 8TB Black FZBX - SATA III,
    DRW-24B1ST CD/DVD Burner
    PSU
    PC Power & Cooling 750W Quad EPS12V
    Case
    Cooler Master ATCS 840 Tower
    Cooling
    CM Hyper 212 EVO (push/pull)
    Keyboard
    Ducky DK9008 Shine II Blue LED
    Mouse
    Logitech Optical M-100
    Internet Speed
    300/300
    Browser
    Firefox (latest)
    Antivirus
    Bitdefender Total Security
    Other Info
    Speakers: Klipsch Pro Media 2.1
  • At a glance

    Windows XP Pro 32bit w/SP3AMD Athlon 64 X2 5000+ (OC'd @ 3.2Ghz)TWIN2X2048-6400C4DHX (2 x 1GB, DDR2 800)EVGA 256-P2-N758-TR GeForce 8600GT SSC
    Operating System
    Windows XP Pro 32bit w/SP3
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® (not in use)
    CPU
    AMD Athlon 64 X2 5000+ (OC'd @ 3.2Ghz)
    Motherboard
    ASUS M2N32-SLI Deluxe Wireless Edition
    Memory
    TWIN2X2048-6400C4DHX (2 x 1GB, DDR2 800)
    Graphics card(s)
    EVGA 256-P2-N758-TR GeForce 8600GT SSC
    Sound Card
    Onboard
    Monitor(s) Displays
    ViewSonic G90FB Black 19" Professional (CRT)
    Screen Resolution
    up to 2048 x 1536
    Hard Drives
    WD 36GB 10,000rpm Raptor SATA
    Seagate 80GB 7200rpm SATA
    Lite-On LTR-52246S CD/RW
    Lite-On LH-18A1P CD/DVD Burner
    PSU
    PC Power & Cooling Silencer 750 Quad EPS12V
    Case
    Generic Beige case, 80mm fans
    Cooling
    ZALMAN 9500A 92mm CPU Cooler
    Keyboard
    Logitech Classic Keybooard 200
    Mouse
    Logitech Optical M-BT96a
    Internet Speed
    300/300
    Browser
    Firefox 3.x ??
    Antivirus
    Symantec (Norton)
    Other Info
    Still assembled, still runs. Haven't turned it on for 15 years?
Type your search phrase in search box (file explorer), click on search options, and select "File content"

1675789128666.png
 

My Computers My Computers

  • At a glance

    Windows 10 Pro, Windows 11 DevIntel I3 1010016 GB DDR4 CrucialIntel on chip
    OS
    Windows 10 Pro, Windows 11 Dev
    Computer type
    PC/Desktop
    Manufacturer/Model
    Homebuilt
    CPU
    Intel I3 10100
    Motherboard
    ASUS B460M
    Memory
    16 GB DDR4 Crucial
    Graphics Card(s)
    Intel on chip
    Sound Card
    Realtek onboard
    Monitor(s) Displays
    ASUS 24, LG 24
    Screen Resolution
    Full HD x 2
    Hard Drives
    kingston A2000 NVMe PCIe 500 GB
    PSU
    LC Power 650W
    Case
    Noname
    Cooling
    Air 2x 120mm
    Keyboard
    Cherry G-81
    Mouse
    Logitech M500
    Internet Speed
    100/20
    Browser
    Firefox, Vivaldi
    Antivirus
    MS Defender
  • At a glance

    Windows 10 HomeRyzen 7 4700u8 GB DDR4AMD Vega
    Operating System
    Windows 10 Home
    Computer type
    Laptop
    Manufacturer/Model
    ASUS/Vivobook Flip 14
    CPU
    Ryzen 7 4700u
    Memory
    8 GB DDR4
    Graphics card(s)
    AMD Vega
    Sound Card
    Realtek onboard
    Monitor(s) Displays
    14"
    Screen Resolution
    FullHD
    Hard Drives
    512 Samsung NVMe PCIe
    PSU
    -
    Case
    Laptop
    Mouse
    Touchpad, Touchscreen
    Internet Speed
    100/20
    Browser
    Firefox, Vivaldi
    Antivirus
    MS Defender
There are plenty of ways to search the contents of text files. My preferred tool is XYPlorer.
 

My Computer My Computer

At a glance

Windows 10/11
OS
Windows 10/11
Computer type
Laptop
Manufacturer/Model
Acer

Latest Support Threads

Back
Top Bottom