Find text in files

elung

New member
Local time
11:23 PM
Messages
3
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 Computer My Computer

At a glance

Windows 7 Home Basic
OS
Windows 7 Home Basic
Are you referring to text/document files?
 

My Computer My Computer

At a glance

64-bit Windows 8.1 ProCore(TM) i5 CPU 4330 Haswell @ 3.20GHz12.00 GBIntel(R) HD Graphics
Computer type
PC/Desktop
Computer Manufacturer/Model Number
LENOVO K450 @3.0GHZ
OS
64-bit Windows 8.1 Pro
CPU
Core(TM) i5 CPU 4330 Haswell @ 3.20GHz
Motherboard
LENOVO
Memory
12.00 GB
Graphics Card(s)
Intel(R) HD Graphics
Sound Card
Intel HD integtrated
Monitor(s) Displays
HP 25' ISP Monitor
Screen Resolution
1900/1020
Hard Drives
(1) ST1000DM003-1CH162 (2) Generic STORAGE DEVICE USB Device (3) Generic STORAGE DEVICE USB Device
Internet Speed
100mb down/10mb up

My Computer My Computer

At a glance

Windows 7 Ultimate RTMAMD Phenom II x4 9456GB PC1600 DDR31GB XFX Radeon HD 5770
Computer Manufacturer/Model Number
Home Built
OS
Windows 7 Ultimate RTM
CPU
AMD Phenom II x4 945
Motherboard
Asus M4A785 TD V Evo
Memory
6GB PC1600 DDR3
Graphics Card(s)
1GB XFX Radeon HD 5770
Sound Card
Onboard
Monitor(s) Displays
2x Daewoo 19" TFT
Screen Resolution
1440 x 900
Hard Drives
WD 120GB SATA
Hitachi 250GB SATA
PSU
Enermax 450w thing
Case
None...well half a case
Cooling
Thermalright Ultra-120 eXtreme 120mm Heat Sink
Other Info
GPU Cooler: Thermaltake V2
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 Computer My Computer

At a glance

Windows 7 7600 1 X64AMD PHENOM II X 550 PROCESSOR 3.1 ghzCorsair 4 gig ddr 3ati radeon 3300
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 7600 1 X64
CPU
AMD PHENOM II X 550 PROCESSOR 3.1 ghz
Motherboard
ASUS M4A78-TE
Memory
Corsair 4 gig ddr 3
Graphics Card(s)
ati radeon 3300
Sound Card
ati hd
Monitor(s) Displays
syncmaster 2033sw
Screen Resolution
1600X900 60 hz refresh
Hard Drives
twin_seagates SATA's 1 TB & 500 Gig, hitachi_slimline 160 gig
PSU
antec_550 watt
Case
cooler master GLite
Cooling
stock_heat sink
Internet Speed
20mbs up/ 1.5mbs down
Other Info
favorite child "stewie"
favorite dog "brian"
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 Computer My Computer

At a glance

Windows 7 Home Basic
OS
Windows 7 Home Basic
Found it :)

Notepad++ has this functionality!
 

My Computer My Computer

At a glance

Windows 7 Home Basic
OS
Windows 7 Home Basic
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 Computer My Computer

At a glance

Windows 7 Ultimate x64Intel Q9550 2.83Ghz OC'd to 3.40Ghz8GB G.Skill PI DDR2-800, 4-4-4-12 timingsEVGA 1280MB Nvidia GeForce GTX570
Computer Manufacturer/Model Number
Self-Built in July 2009
OS
Windows 7 Ultimate x64
CPU
Intel Q9550 2.83Ghz OC'd to 3.40Ghz
Motherboard
Gigabyte GA-EP45-UD3R rev. 1.1, F12 BIOS
Memory
8GB G.Skill PI DDR2-800, 4-4-4-12 timings
Graphics Card(s)
EVGA 1280MB Nvidia GeForce GTX570
Sound Card
Realtek ALC899A 8 channel onboard audio
Monitor(s) Displays
23" Acer x233H
Screen Resolution
1920x1080
Hard Drives
Intel X25-M 80GB Gen 2 SSD
Western Digital 1TB Caviar Black, 32MB cache. WD1001FALS
PSU
Corsair 620HX modular
Case
Antec P182
Cooling
stock
Keyboard
ABS M1 Mechanical
Mouse
Logitech G9 Laser Mouse
Internet Speed
15/2 cable modem
Other Info
Windows and Linux enthusiast. Logitech G35 Headset.
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 Computer My Computer

At a glance

Windows 7 Ultimate 64 Bits
OS
Windows 7 Ultimate 64 Bits
Back
Top