Results 1 to 13 of 13
  1. #1
    New Lounger
    Join Date
    Oct 2011
    Posts
    21
    Thanks
    8
    Thanked 1 Time in 1 Post

    Need to search for text within file name and file content

    I still have the XP mentality, it seems, when this simple search frustrates me.

    I want to search all the files in a folder (and its subfolders) for those that contain a specific keyword. I remember in XP that I can search within the files. I'm only able to search the file names in Windows 7.

    And Advanced Search isn't any more helpful. I can narrow my search by file size and modify date, but I see no options for searching within the contents of the files.

  2. #2
    Super Moderator Rick Corbett's Avatar
    Join Date
    Dec 2009
    Location
    South Glos., UK
    Posts
    2,143
    Thanks
    101
    Thanked 580 Times in 464 Posts
    Have you tried Windows Grep?

    Hope this helps...

  3. The Following 2 Users Say Thank You to Rick Corbett For This Useful Post:

    Kuildeous (2015-02-12),Max5122 (2015-02-16)

  4. #3
    New Lounger
    Join Date
    Oct 2011
    Posts
    21
    Thanks
    8
    Thanked 1 Time in 1 Post
    Quote Originally Posted by Rick Corbett View Post
    Have you tried Windows Grep?

    Hope this helps...
    It sounds lovely, but I'm limited in what I can have on my machine. For example, I'm on Windows 7.

    But I did find a solution. I found "Change search options for files and folders." By default, it had "In indexed locations, search file names and contents. In non-indexed locations, search files names only" selected.

    I changed it to "Always search file names and contents".

    Okay, I can see why the default is set the way it is, but it really would have been nice to change this within the search tool. I appreciate the reference, Rick.

  5. The Following User Says Thank You to Kuildeous For This Useful Post:

    Max5122 (2015-02-16)

  6. #4
    Super Moderator Rick Corbett's Avatar
    Join Date
    Dec 2009
    Location
    South Glos., UK
    Posts
    2,143
    Thanks
    101
    Thanked 580 Times in 464 Posts
    Kuildeous - Our Windows 7 work PC's are locked down so we can't install any software ourselves. I used a portable version of Universal Extractor to unpack the Windows Grep installer to a folder on a USB stick.

    Within the extracted files/folders you'll see a folder called {app}. All you need are the files within this folder, nothing else.
    wingrep.png
    Click to enlarge

    I now have a portable version of Windows Grep which I can use at work.
    Last edited by Rick Corbett; 2015-02-12 at 10:58.

  7. #5
    WS Lounge VIP access-mdb's Avatar
    Join Date
    Dec 2009
    Location
    Oxfordshire, UK
    Posts
    1,725
    Thanks
    147
    Thanked 156 Times in 149 Posts
    Where I used to work if we inserted our own memory stick it was promptly encrypted and you couldn't see the contents. I think the system was called Ironman. It was to stop anyone using a stick to download and take away any data or secure stuff.

  8. #6
    Lounger
    Join Date
    Dec 2009
    Posts
    31
    Thanks
    6
    Thanked 0 Times in 0 Posts
    Windows 7 natively indexes file contents, and a search can be targeted to a specific file type.

    Try this: Click the Start Orb and just enter a word that you know is in a file that you wrote in the last week (like "franklin" or "david" in a word processing file or text file). Now...Just above the text box you just typed into, click the words "See more results".

    A window opens showing (lower left) that "XXX items" (XXX is the number of items it found). Note that email messages, PDF's, and document files are in the list. Now...click in the box in the upper right that has your original search term in it. A small drop-down box indicates that you can limit the search to a specific file kind (i.e. documents, IM's, etc,) or a file type (.txt, doc. etc.) Play around with that, and I think you'll agree you can indeed find highly targeted keywords.

    Max

    P.S. Rick, thanks for pointing to GREP. I had forgotten about that one.
    Last edited by Max5122; 2015-02-17 at 00:10.

  9. #7
    5 Star Lounger
    Join Date
    Jan 2004
    Location
    Praha
    Posts
    990
    Thanks
    56
    Thanked 105 Times in 90 Posts
    Having just migrated from XP to 64 bit W7, I too was also a little frustrated with the inbuilt search tool. I tried out Everything which is very fast but does not search file contents, then FileSearchEX which is almost as fast and searches within files among many other settable parameters.
    There is some useful description here: http://www.howtogeek.com/71216/how-t...-in-windows-7/

  10. The Following User Says Thank You to MartinM For This Useful Post:

    Rick Corbett (2015-02-17)

  11. #8
    Super Moderator Rick Corbett's Avatar
    Join Date
    Dec 2009
    Location
    South Glos., UK
    Posts
    2,143
    Thanks
    101
    Thanked 580 Times in 464 Posts
    Nice one, MartinM. Thanks.

  12. #9
    Super Moderator satrow's Avatar
    Join Date
    Dec 2009
    Location
    Cardiff, UK
    Posts
    4,492
    Thanks
    284
    Thanked 577 Times in 480 Posts
    For searches within files I use Agent Ransack.

    http://www.mythicsoft.com/agentransack

  13. The Following User Says Thank You to satrow For This Useful Post:

    RetiredGeek (2015-02-18)

  14. #10
    Lounger
    Join Date
    Dec 2009
    Posts
    31
    Thanks
    6
    Thanked 0 Times in 0 Posts
    MartinM... I too use Everything daily. It finds most of what I really need on a day-to-day basis. I endeavor to save my files with keywords in the file name, making Everything far more useful. I am going to have to try out FileSearchEX...sounds very useful. Thanks!

    Satrow...WOW! I used AgentRansack when I was on Win98SE. I held on to Win98SE and skipped over XP. I had no idea that it's been updated. Does it work well with Win7? I appreciate your response when you've got time.

    Max

  15. #11
    Super Moderator satrow's Avatar
    Join Date
    Dec 2009
    Location
    Cardiff, UK
    Posts
    4,492
    Thanks
    284
    Thanked 577 Times in 480 Posts
    Quote Originally Posted by Max5122 View Post
    Satrow...WOW! I used AgentRansack when I was on Win98SE. I held on to Win98SE and skipped over XP. I had no idea that it's been updated. Does it work well with Win7? I appreciate your response when you've got time.
    It still works fine, Max

  16. #12
    Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    9,436
    Thanks
    372
    Thanked 1,457 Times in 1,326 Posts
    Satrow,

    Thanks for the link to Agent Ransack! That is one cool search program. I also downloaded the Office 2010 filters it recommends and it does great searches of Office documents.
    May the Forces of good computing be with you!

    RG

    PowerShell & VBA Rule!

    My Systems: Desktop Specs
    Laptop Specs

  17. #13
    Super Moderator satrow's Avatar
    Join Date
    Dec 2009
    Location
    Cardiff, UK
    Posts
    4,492
    Thanks
    284
    Thanked 577 Times in 480 Posts
    Quote Originally Posted by RetiredGeek View Post
    I also downloaded the Office 2010 filters it recommends and it does great searches of Office documents.
    I think the filter pack is only needed for the later x (zip format) documents, searches within 'plain' .doc files here work without any MS Office software/components/converters installed.

Posting Permissions

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