Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Search a folder of docs for amounts of a certain phrase

1 Week Ago   #1
Nulltown

Windows 7
 
 
Search a folder of docs for amounts of a certain phrase

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 System SpecsSystem Spec
.
1 Week Ago   #2
iko22

Windows 7 x64, Vista x64, 8.1 smartphone
 
 

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 System SpecsSystem Spec
1 Week Ago   #3
Keithuk

Windows 7 Professional 32bit SP1
 
 

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 System SpecsSystem Spec
.

Reply

 Search a folder of docs for amounts of a certain phrase




Thread Tools




Similar help and support threads
Thread Forum
Way to recover unsaved word docs that aren't in auto-backup folder?
I'm wondering if there's a way to recover documents that were lost during a PC reset, which are not appear in the auto-backup folder. Initially, after a forced reset, they did appear to be recovered, but then another reset was made, which forced Word to close, with all those documents still...
Microsoft Office
Search: Can you search for a folder that's missing a filetype?
Basically, I want to search for all the folders on my drive that are missing an *.xmpb file. All of the folders should have one, but some of them don't, so I need a list of those folders. What's the syntax? I tried-- kind:folder NOT *.xmpb --but it didn't work. Also, this is on a mapped...
General Discussion
Libraries- not working right-have to search much further for pics/docs
Hi, I sure hope someone can help me with this. When I got this (Dell) computer a few months ago and opened Libraries, I had a nice clean and SHORT appearance that looked similar to this on the left side: Libraries Documents Music Pictures Videos ...and perhaps 2 or 3 other...
General Discussion
uninstalled google docs now win search error "cant access device"
I installed google desktop for a while. Didnt like it. Unistalled thru google uninstall. Now search won't function. Get this error. Help fixing appreciated.
General Discussion
Dual Monitor question (hard to phrase)
so i use dual monitors. is it possible when using the main monitor (laptop monitor 1366 x 768) in full screen mode (eg a game) and clicking to the other monitor without the full screen program going back to the desktop?? because whenever i play a game and want to click something on the other...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 22:08.
Twitter Facebook