+ Post New Thread
Results 1 to 11 of 11
Windows Thread, Searching 1000s of individual text files for a certain phrase in Technical; Is there any way in windows to search multiple text files for a search term? The files are HTML and ...
  1. #1
    zag
    zag is offline
    zag's Avatar
    Join Date
    Mar 2007
    Posts
    3,762
    Thank Post
    897
    Thanked 416 Times in 350 Posts
    Blog Entries
    12
    Rep Power
    86

    Searching 1000s of individual text files for a certain phrase

    Is there any way in windows to search multiple text files for a search term?

    The files are HTML and I cant find an easy way to do it.

  2. #2

    LosOjos's Avatar
    Join Date
    Dec 2009
    Location
    West Midlands
    Posts
    5,446
    Thank Post
    1,438
    Thanked 1,168 Times in 797 Posts
    Rep Power
    707
    I thought this was a standard feature of Windows Search?

    Just open up a search box (or Win+F), select "all files and folders", file name "*.htm*", then enter the search term in the "word or phrase inside the file" box

    [this is from memory so might be a bit off with field names]

  3. #3
    Neil-Millgate's Avatar
    Join Date
    Jan 2013
    Location
    Sheffield
    Posts
    115
    Thank Post
    11
    Thanked 34 Times in 23 Posts
    Rep Power
    9
    LosOjos has it spot on. Just double checked it as well to make sure.

    Win+F, enter phrase in top right search box, click 'type', select .htm

  4. #4
    zag
    zag is offline
    zag's Avatar
    Join Date
    Mar 2007
    Posts
    3,762
    Thank Post
    897
    Thanked 416 Times in 350 Posts
    Blog Entries
    12
    Rep Power
    86
    Sorry I want to actually search inside all the HTML files for a phrase.#

    Code:
    type:=.htm google.co.uk
    didnt work
    Last edited by zag; 23rd January 2013 at 10:34 AM.

  5. #5
    Neil-Millgate's Avatar
    Join Date
    Jan 2013
    Location
    Sheffield
    Posts
    115
    Thank Post
    11
    Thanked 34 Times in 23 Posts
    Rep Power
    9
    Damn your ninja edit Zag...
    Last edited by Neil-Millgate; 23rd January 2013 at 10:41 AM.

  6. #6
    januttall's Avatar
    Join Date
    Sep 2010
    Posts
    225
    Thank Post
    17
    Thanked 28 Times in 28 Posts
    Blog Entries
    1
    Rep Power
    13
    Windows Grep Features i have used grep alot in Linux but there's a windows version :P. [GREP By the way is free]Open source GPL
    also i have heard that indexing needs to be on to use alot of sub features of the windows search.
    Last edited by januttall; 23rd January 2013 at 11:20 AM.

  7. #7

    AngryTechnician's Avatar
    Join Date
    Oct 2008
    Posts
    3,730
    Thank Post
    698
    Thanked 1,211 Times in 761 Posts
    Rep Power
    394
    I use the search built in to Notepad++ for this sort of thing.

  8. #8


    Join Date
    Feb 2007
    Location
    51.405546, -0.510212
    Posts
    8,748
    Thank Post
    221
    Thanked 2,626 Times in 1,936 Posts
    Rep Power
    778
    Quote Originally Posted by zag View Post
    didn't work
    You may want to try TextCrawler or AstroGrep instead.
    Last edited by Arthur; 23rd January 2013 at 10:58 AM.

  9. Thanks to Arthur from:

    zag (23rd January 2013)

  10. #9
    zag
    zag is offline
    zag's Avatar
    Join Date
    Mar 2007
    Posts
    3,762
    Thank Post
    897
    Thanked 416 Times in 350 Posts
    Blog Entries
    12
    Rep Power
    86
    Thanks textcrawler worked perfectly.

  11. #10

    LosOjos's Avatar
    Join Date
    Dec 2009
    Location
    West Midlands
    Posts
    5,446
    Thank Post
    1,438
    Thanked 1,168 Times in 797 Posts
    Rep Power
    707
    Quote Originally Posted by zag View Post
    Sorry I want to actually search inside all the HTML files for a phrase.#

    Code:
    type:=.htm google.co.uk
    didnt work
    Pretty sure Windows built in search would have done this...

    winsearch.jpg

  12. #11

    unixman_again's Avatar
    Join Date
    Nov 2011
    Posts
    675
    Thank Post
    26
    Thanked 136 Times in 103 Posts
    Rep Power
    134
    XP has the "dog" search thingy (which works), W7 has an unreliable built in search. You have to type content:"string you want" in the search box, but experience has shown it doesn't often work. I've never tried the TextCrawler or AstroGrep mentioned above, but I have used Super Finder XT, which works very well but it slow and runs a background program when the search is done. I use DOS FINDSTR, which is quick and work well. In any version of Windows, DOS always has been and always will be your best tool.

  13. 2 Thanks to unixman_again:

    LosOjos (23rd January 2013), zag (23rd January 2013)

SHARE:
+ Post New Thread

Similar Threads

  1. [SIMS] How do you create a definition file for extraction of MIS data?
    By speckytecky in forum MIS Systems
    Replies: 4
    Last Post: 16th November 2011, 06:29 AM
  2. Replies: 1
    Last Post: 9th October 2009, 12:58 PM
  3. CSV to individual text files
    By DanW in forum Scripts
    Replies: 14
    Last Post: 15th September 2009, 11:28 AM
  4. Searching a folder of .eml files for a username?
    By iSteve in forum General Chat
    Replies: 3
    Last Post: 4th September 2008, 11:29 AM
  5. Deploy the contents of a CAB file through GPO?
    By tosca925 in forum Windows
    Replies: 0
    Last Post: 16th October 2005, 12:46 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •