Results 1 to 7 of 7

Thread: Search on XP vs. Win2000

  1. #1

    Thread Starter
    Lively Member homer13j's Avatar
    Join Date
    Nov 2003
    Location
    Ohio Turnpike Exit 173
    Posts
    80

    Search on XP vs. Win2000

    I was looking at some .asp code on my XP box that runs on our web server and I suddenly got the desire to find any other file on the server that contains a particular string. So I bring up the Search box (with the cute but entirely unnecessary little dog), type in *.asp for the files to get and copy the string I'm looking for into the Containing Text box. Hit the Search Now button and... nothing. It should have at least returned the file I was looking at, right?

    So I do the exact same search on my Win2000 box and get several files that contian my string. Just like XP should have...

    Question: Why doesn't XP's search function work the same as Win2000?

    Homer

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Search on XP vs. Win2000

    Hmm...works fine for me.

    I have XP Pro and I just did a search for *.txt containing vbforums and I got back the names of 54 files.

  3. #3
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Search on XP vs. Win2000

    For some reason SEARCH does not look at all file types...

    We never figured out why that was - but ended up developing our own search utility to get around that issue a couple of years ago.

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  4. #4
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Search on XP vs. Win2000

    Here is the KB article explaining why and how to fix it...

    http://support.microsoft.com/?kbid=309173

    We still like our search utility - we display the "file list" of files found in a listview and if you click on a file it appears in a rich-text box so you can review it more easily...

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  5. #5
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Search on XP vs. Win2000

    I see from you link the .asp is not one of the file types that XP likes which is what homer13j was trying to search on.

    A rather odd file extention to omit I would say.

  6. #6
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Search on XP vs. Win2000

    Quote Originally Posted by Hack
    I see from you link the .asp is not one of the file types that XP likes which is what homer13j was trying to search on.

    A rather odd file extention to omit I would say.
    Yes - I can see that .ASP is listed as "not searched"...

    We found that .SQL files were also not searched - that's not in the KB article - but it's the reason we wrote our own search utility...

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  7. #7

    Thread Starter
    Lively Member homer13j's Avatar
    Join Date
    Nov 2003
    Location
    Ohio Turnpike Exit 173
    Posts
    80

    Re: Search on XP vs. Win2000

    Thanks for the info, guys. I guess the XP programmers should have spent more time coding instead of creating that cartoon dog...

    Homer

Posting Permissions

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



Click Here to Expand Forum to Full Width