PDA

View Full Version : Checking if word in file


webdev
01-11-2010, 09:28 PM
Basically searching all files in a directory and locating those that contain a certain word within them. For example, I want to know what files contain the word 'apple', if there is just print the filenames that contain 'apple' somewhere in the text. The only thing I really need to know is how to...