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: Find text in files

12 Jan 2010   #1
elung

Windows 7 Home Basic
 
 
Find text in files

Hi,

I am just wondering what do you use to search texts in files?

I meant, searching text inside files ...

As always, I prefer freeware if possible, because I believe this feature should be built-in to the OS.

Thanks.


My System SpecsSystem Spec
.
12 Jan 2010   #2
Tews

64-bit Windows 8.1 Pro
 
 

Are you referring to text/document files?
My System SpecsSystem Spec
12 Jan 2010   #3
MrMephitis

Windows 7 Ultimate RTM
 
 

My System SpecsSystem Spec
.

12 Jan 2010   #4
Adrian

 

Quote   Quote: Originally Posted by elung View Post
Hi,

I am just wondering what do you use to search texts in files?

I meant, searching text inside files ...

As always, I prefer freeware if possible, because I believe this feature should be built-in to the OS.

Thanks.
Wordpad is a texteditor wihin windows 7.
Use/Start/Programs/Accessories/Notepad
My System SpecsSystem Spec
12 Jan 2010   #5
elung

Windows 7 Home Basic
 
 

Yes, searching text withing files (common text files like .txt, .php, .pl, .pas), inside folders, recursively.

I took a look the WinGrep, it is nice but at this moment I am looking for freeware alternative.

No, you cannot do this using Wordpad ... unfortunately.
My System SpecsSystem Spec
12 Jan 2010   #6
elung

Windows 7 Home Basic
 
 

Found it

Notepad++ has this functionality!
My System SpecsSystem Spec
12 Jan 2010   #7
pparks1

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by elung View Post
I believe this feature should be built-in to the OS.
Thanks.
That features is built into the os, it's called findstr

Open up a command line and type findstr /? and you will see your options. Hope this helps.
My System SpecsSystem Spec
09 Aug 2012   #8
mrandal

Windows 7 Ultimate 64 Bits
 
 

On the Windows command line, I often use an open source tool sfk to find text. For example,
Code:
sfk find mydir foo
finds all occurrences of foo in mydir and all subfolders, in text and binary files. You may also try sfk hexfind (produces hexdumps) or sfk filter (for text files only). The binary is available from Swiss File Knife - Browse /1-swissfileknife at SourceForge.net
My System SpecsSystem Spec
Reply

 Find text in files




Thread Tools




Similar help and support threads
Thread Forum
Icons for .HTM/.HTML files show up like text files
Hello friends, I am using Windows 7 Ultimate SP1 64 bit. The icons for firefox HTM/HTML files are not displayed properly. They are displayed like Text files. I even configured the default icon for .htm/.html files in FileTypesMan utility. Still in the windows explorer, the files are shown as...
General Discussion
SFC Scan find corrupt files but unable to find them in CBS log
I have been running into some issues with my computer for a while and after trying several things I decided to run SFC scan. It claims to have found corrupt files it could not repair but when I followed Option 3 from...
Performance & Maintenance
Windows 7 search doesnít find text strings
Iím not able to find any text strings starting not from the beginning of word in filename or in file content using Windows 7 search. My Windows 7 search configuration: http://imageshack.us/a/img513/2569/t62p.png http://imageshack.us/a/img35/7959/rig0.png ...
General Discussion
Text (.txt) files behaving like registry files
When I double click a file with the .txt extension it asks if it wants to be added to the registry: http://i.imgur.com/1oNr5r2.png
General Discussion
Find missing files in a row of consecutively numbered files
I have like img0000.png img0001.png img0002.png etc up tp 5000
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 02:05.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App