Search a folder of docs for amounts of a certain phrase

Nulltown

New member
Local time
11:55 AM
Messages
1
I'm trying to figure out exactly how many individual letters I created in a certain period. I have them all saved in a single folder, but each doc file has a different number of letters in it. At the end of a letter writing session, I often just save the whole lot as one file.

I got the idea to search the folder for instances of a certain phrase I know is in each letter, and only once each letter. When I search for this phrase, I just get every doc in the folder, as you'd expect. Is there a way of finding out specifically how many instances of the search phrase are in the search results?

I know I could do a Windows search, open each result in Word, do a Find, and count them all up, but there are 1,700 different docs in the folder. :(
 

My Computer My Computer

At a glance

Windows 7
Computer type
PC/Desktop
OS
Windows 7
Hello Nulltown,

Welcome to Seven Forums!

That is what GREP does with text files under UNIX/LINUX operating systems. So one way would be to batch convert all your DOC files into TXT files and then use GREP to find occurances of a word pattern.

You cannot do that in Windows 7 because GREP does not run on this Operating System. You can, as you said, use Windows Explorer to search file contents. But that method does not show all matches that occurs within one file.

So, I did a bit of searching around on the web, and I found this opensource tool called
Common Resource GREP - crgrep. This program is like GREP, only it runs on a Windows Operating System and claims that it can search Microsoft Office files, too.

Good Luck
 

My Computer My Computer

At a glance

Windows 7 x64, Vista x64, 8.1 smartphoneIntel E8400 65W 64-bitDDR2 2 x 2GB, 1GB x 2XFX Radeon HD5750
Computer type
PC/Desktop
OS
Windows 7 x64, Vista x64, 8.1 smartphone
CPU
Intel E8400 65W 64-bit
Motherboard
Gigabyte EP45-UD3LR
Memory
DDR2 2 x 2GB, 1GB x 2
Graphics Card(s)
XFX Radeon HD5750
Sound Card
AMD High Definition Audio; Realtek High Definition Audio
Monitor(s) Displays
iiyama prolite X2377HDS
Screen Resolution
1920 x 1080
Hard Drives
500GB 7200 rpm Seagate ST3500413AS 16MB, 500GB 5400 rpm Toshiba MQ02ABF050H 32MB, 200GB 7200 rpm Seagate ST3200820AS 8MB, 2TB 7200 rpm Western Digital WD20EZRX 64MB
PSU
Enermax Liberty Modular
Case
Antec P193 Midi Tower
Keyboard
Mionix ZIBAL 60
Mouse
Razer USB 2.0 Diamondback Mouse or Huion Graphics Tablet
Browser
Internet Explorer, Lunascape, Firefox, Opera, Avast Safezone
Windows 7 search is good but it will only search for file or folders in the search text.

My other computer Windows XP will search for files or the date they were created.
 

My Computer My Computer

At a glance

Windows 7 Professional 32bit SP1, Windows 10 ...Intel Pentium B970 @ 2.30GHz, DELL DELL Intel...8GBNVIDIA GeForce MX230 (Dell)
Computer type
Laptop
Computer Manufacturer/Model Number
Samsung won't charge Now Dell Inspiron 17 3793
OS
Windows 7 Professional 32bit SP1, Windows 10 Home 64-bit at the moment
CPU
Intel Pentium B970 @ 2.30GHz, DELL DELL Intel 3793 Core i5 1
Motherboard
DELL 0C9WH2
Memory
8GB
Graphics Card(s)
NVIDIA GeForce MX230 (Dell)
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
17.3" HD+ LED Display
Screen Resolution
1920x1040
Hard Drives
99GB (RAID SHIT SSD), Seagate 1TB SATA III DATA

Seagate ST1000LM048-2E7172 (SATA III)
Mouse
USB remote
Antivirus
Avast Free Antivirus 20.10.2442
Browser
Internet Explorer 11, FireFox
Other Info
DELL shit Its the worst laptop design ever made the laptop battery is inbuilt who the hell makes a laptop battery inbuilt DELL shit does, can't wait until the 1TB HDD is replaced and RAID shit is removed
Back
Top