Search function

  • Thread starter Thread starter ms
  • Start date Start date
M

ms

How to define the Search function for a definitive answer?

I tried "XXXX" but quotation marks do not work.

What is the notation that W2K recognizes to define Search?

TIA

MS
 
A WAG at what you're asking.

Start a Search for the desired criteria, then File|Save Search

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| How to define the Search function for a definitive answer?
|
| I tried "XXXX" but quotation marks do not work.
|
| What is the notation that W2K recognizes to define Search?
|
| TIA
|
| MS
 
A WAG at what you're asking.

Start a Search for the desired criteria, then File|Save Search

Maybe I wasn't clear in my question, I don't understand your answer.

If I put in a item to search, I get everything.

How to be specific in entering a search term?
 
Yes, you weren't clear. What are you searching? My response was a guess at
what you were asking.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Maybe I wasn't clear in my question, I don't understand your answer.
|
| If I put in a item to search, I get everything.
|
| How to be specific in entering a search term?
 
Yes, you weren't clear. What are you searching? My response was a
guess at what you were asking.

For an example, I put in a file name, what I get back is as if I put in
*.txt.

Sometimes, the file has two terms, like Registry Cleaner, if I put in
"Registry Cleaner" to eliminate the many registry or cleaner entries, I get
no result.
 
Doesn't happen that way for me.

dir with four test files
my test.txt
sometest.txt
sometest.zzz
test.txt
--------------------

????test returns with
sometest.txt
sometest.zzz
--------------------

*.test returns with
my test.txt
sometest.txt
sometest.zzz
test.txt
--------------------

my test returns with
my test.txt
--------------------

???test returns with
my test.txt
--------------------

????.* returns with
test.txt


--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| For an example, I put in a file name, what I get back is as if I put in
| *.txt.
|
| Sometimes, the file has two terms, like Registry Cleaner, if I put in
| "Registry Cleaner" to eliminate the many registry or cleaner entries, I
get
| no result.
 
Typo; should have been

-----------------
*test returns with
my test.txt
sometest.txt
sometest.zzz
test.txt

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect
 
I believe simply putting in test will return all those files (i.e. any
occurrence of test anywhere in the filename) won't it?

Perhaps that's what the op is referring to - he gets too many hits. If
so, your examples should indicate how to limit the search.
 
Remains to be seen.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"Sid Knee"wrote:
<snip> Perhaps that's what the op is referring to - <snip>
 
Doesn't happen that way for me.

dir with four test files
my test.txt
sometest.txt
sometest.zzz
test.txt
--------------------

????test returns with
sometest.txt
sometest.zzz
--------------------

*.test returns with
my test.txt
sometest.txt
sometest.zzz
test.txt

Dave, thanks for doing that test for me.

Here are my results, created your files, used your search parameter:
------
????test returns with
sometest.txt
sometest.zzz
I had 32 returns
-------
*test returns with
my test.txt
sometest.txt
sometest.zzz
test.txt
I had 190 returns
-----
my test returns with
my test.txt
I had 991 returns
------
???test returns with
my test.txt
I had 52 objects
------
????.* returns with
test.txt
I had 4627 returns


AFAIK I have a standard W2k/SP4 install, I don't mess with settings
except very necessary ones.

I did exactly what you did, very different results.

Why the difference and how to fix it?

TIA

MS
 
OK, let's back up. If you wanted all files with "Registry" OR "Cleaner" in
the search then

Registry Cleaner

If you wanted all files with "Registry Cleaner" somewhere in the name then

"*Registry Cleaner*"

If you wanted all files with one leading char AND "Registry Cleaner"
somewhere in the name then

"?Registry Cleaner*"

Does that help?

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Dave, thanks for doing that test for me.
|
| Here are my results, created your files, used your search parameter:
| ------
| ????test returns with
| sometest.txt
| sometest.zzz
| I had 32 returns
| -------
| *test returns with
| my test.txt
| sometest.txt
| sometest.zzz
| test.txt
| I had 190 returns
| -----
| my test returns with
| my test.txt
| I had 991 returns
| ------
| ???test returns with
| my test.txt
| I had 52 objects
| ------
| ????.* returns with
| test.txt
| I had 4627 returns
|
|
| AFAIK I have a standard W2k/SP4 install, I don't mess with settings
| except very necessary ones.
|
| I did exactly what you did, very different results.
|
| Why the difference and how to fix it?
|
| TIA
|
| MS
|
 
OK, let's back up. If you wanted all files with "Registry" OR
"Cleaner" in the search then
I don't, in fact, have anything exactly named Registry Cleaner on my hard
drive. So I created a registry cleaner.txt
Registry Cleaner
I get 128 entries, including my sample file. I do have RegCleaner, etc.
I got everything from jpeg cleaner to CCleaner, etc., all kinds of stuff.
If you wanted all files with "Registry Cleaner" somewhere in the name
then
a) > "*Registry Cleaner*"
That did isolate my sample file
If you wanted all files with one leading char AND "Registry Cleaner"
somewhere in the name then

"?Registry Cleaner*"
No files found

I tried ?Registry Cleaner
68 entries, including my sample text
Does that help?

Is the term used in a) above specific enough to serve to limit my
searches?

And is there any search term that will help this issue? Some of the above
don't work too well. We have somewhat different files on our hard drives,
I 'm sure, but with 128 entries, I had everything including the kitchen
sink.

Thanks,

Mike
 
:
| I don't, in fact, have anything exactly named Registry Cleaner on my hard
| drive. So I created a registry cleaner.txt
*** Then post what it is you're searching?


| > Registry Cleaner
| >
| I get 128 entries, including my sample file. I do have RegCleaner, etc.
| I got everything from jpeg cleaner to CCleaner, etc., all kinds of stuff.
*** Expected behavior. This query is going to return all hits with registry
OR cleaner anywhere in the file name.



| > If you wanted all files with "Registry Cleaner" somewhere in the name
| > then
| >
| a) > "*Registry Cleaner*"
| >
| That did isolate my sample file
|
| > If you wanted all files with one leading char AND "Registry Cleaner"
| > somewhere in the name then
| >
| > "?Registry Cleaner*"
| >
| No files found
|
| I tried ?Registry Cleaner
| 68 entries, including my sample text
*** This query is going to return all hits with the string registry
preceeded by one char AND all hits with the string cleaner in the file name.


| > Does that help?
|
| Is the term used in a) above specific enough to serve to limit my
| searches?
*** I don't really know since I don't know what you're after.


| And is there any search term that will help this issue?
*** Post what it is you're after and we might be able to help.



--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect
 
ms said:
I don't, in fact, have anything exactly named Registry Cleaner on my hard
drive. So I created a registry cleaner.txt

I get 128 entries, including my sample file. I do have RegCleaner, etc.
I got everything from jpeg cleaner to CCleaner, etc., all kinds of stuff.

That did isolate my sample file

No files found

I tried ?Registry Cleaner
68 entries, including my sample text


Is the term used in a) above specific enough to serve to limit my
searches?

And is there any search term that will help this issue? Some of the above
don't work too well. We have somewhat different files on our hard drives,
I 'm sure, but with 128 entries, I had everything including the kitchen
sink.

Thanks,

Mike

Your results were entirely predictable ... just like David has been saying.
Your search returned *EXACTLY* correct results according to your search
criteria.
 
:
| I don't, in fact, have anything exactly named Registry Cleaner on my
| hard drive. So I created a registry cleaner.txt
*** Then post what it is you're searching?
As in my OP, I am looking for the method (search terms) to use to limit
my searches.

snip
| > If you wanted all files with "Registry Cleaner" somewhere in the
| > name then
| >
| a) > "*Registry Cleaner*"
| >
| That did isolate my sample file
|

So this is the only way to limit the search to *just* my item?
 
1.) I got that much and I posted some examples.

2.) No, that's just part of it.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| As in my OP, I am looking for the method (search terms) to use to limit
| my searches.
|
| snip
| >
| >| > If you wanted all files with "Registry Cleaner" somewhere in the
| >| > name then
| >| >
| >| a) > "*Registry Cleaner*"
| >| >
| >| That did isolate my sample file
| >|
|
| So this is the only way to limit the search to *just* my item?
 
To recap;
I posted several examples in two replies which it appears doesn't help. Also
I asked more than twice what you're searching for to which you won't reply
so I don't know what else I can do. Might be someone else can guess.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect
 
To recap;
I posted several examples in two replies which it appears doesn't
help. Also I asked more than twice what you're searching for to which
you won't reply so I don't know what else I can do. Might be someone
else can guess.

Sorry, I am not understanding this. I thought I answered:
As in my OP, I am looking for the method (search terms) to use to limit
my searches.

The method of search is what I'm searching for.

You had mentioned "*XXXXXX*", that did isolate whatever I want to find.
You mentioned several other ways for broader searches that I may use in
the future.

But to search for a one-word term, or a two-word term, is there any other
way to limit the returns to just my item?

I hope the above is clear?
 
No problem. For one word anywhere in the name it is easy ...... you just
enter in the word. For a two-word string separated by one space; anywhere in
the name it is also fairly easy.

"*word1 word2*"

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Sorry, I am not understanding this. I thought I answered:
| >As in my OP, I am looking for the method (search terms) to use to limit
| my searches.
|
| The method of search is what I'm searching for.
|
| You had mentioned "*XXXXXX*", that did isolate whatever I want to find.
| You mentioned several other ways for broader searches that I may use in
| the future.
|
| But to search for a one-word term, or a two-word term, is there any other
| way to limit the returns to just my item?
|
| I hope the above is clear?
|
|
|
 
Back
Top