Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: [solved]Find or Findstr to search "Breton " (notice the space at the end!)  (Read 5353 times)

0 Members and 1 Guest are viewing this topic.

hexaae

    Topic Starter


    Greenhorn

    How do I?
    Find or Findstr /C fail searching for "Breton " with the space at the end of line. I don't want to find "Breton" occurrences but exactly "Breton ". How do I manage searches with spaces or other special chars...?  ???
    « Last Edit: September 11, 2009, 02:16:30 PM by hexaae »

    hexaae

      Topic Starter


      Greenhorn

      Re: Find or Findstr to search "Breton " (notice the space at the end!)
      « Reply #1 on: September 11, 2009, 02:16:10 PM »
      I was using wrong syntax.
      findstr /C:"Breton " does work.

      emuhulk

      • Guest
      Re: [solved]Find or Findstr to search "Breton " (notice the space at the end!)
      « Reply #2 on: September 11, 2009, 04:32:45 PM »
      how can we use findstr to find filename if a specific string inside

      assume that file located my directory c:\test

      gh0std0g74



        Apprentice

        Thanked: 37
        Re: Find or Findstr to search "Breton " (notice the space at the end!)
        « Reply #3 on: September 11, 2009, 05:45:10 PM »
        I was using wrong syntax.
        findstr /C:"Breton " does work.
        put another space in front eg /c " Breten ".

        Salmon Trout

        • Guest
        Re: Find or Findstr to search "Breton " (notice the space at the end!)
        « Reply #4 on: September 12, 2009, 12:57:15 AM »
        put another space in front eg /c " Breten ".

        and change the 'o' to an 'e'...