Searchig for Files

  • Thread starter Thread starter Jaime
  • Start date Start date
J

Jaime

When I put in the exact name of a file I want to search
for.. it finds all the files containing the name.

I am not searching in the find a file that contains text.

Is there a way I can search exact file names?


Thanks
 
'Thisfile' returns all results that include 'thisfile*'
'thisfile.doc' returns only exact matches
is this what you meant?
 
'Thisfile' returns all results that include 'thisfile*'
'thisfile.doc' returns only exact matches
is this what you meant?

thisfile.doc also returns thisfile.document, just as *.htm also returns
*.html

To inhibit this behaviour, search the web for "Short file treatment", or
"Win31 filesystem" registry settings. It should yield

HKLM\System\CurrentControlSet\Control\FileSystem\Win95TruncatedExtensions

Please document before modifying the value.
 
I tried 'thisname.doc' and that does not work either.
If I put quotes nothing comes up.
if I put thisname.doc all the files containing that name
come up.

Does it matter if the file name has 2 words?

Thanks
Jaime
 
-----Original Message-----

thisfile.doc also returns thisfile.document, just as *.htm also returns
*.html

To inhibit this behaviour, search the web for "Short file treatment", or
"Win31 filesystem" registry settings. It should yield

HKLM\System\CurrentControlSet\Control\FileSystem\Win95Trunc
atedExtensions

Please document before modifying the value.

--
Andrei "Ndi" Dobrin
Brainbench MVP
www.Brainbench.com


.
I am having the same problem. If I serch for "log.txt"
( quotes not included") I get all .txt files with log in
the file name. i.e. errorlog.txt ect. Why does it do
that? I have win2k and can not fine registry key HKLM or
any results from "Short file treatment". ??
 
Why does it do that?

Because search API must cover both long file names and short file names,
8+3. Because My.html in 8+3 will be MY.HTM, *.htm will also match the .html
by the short name. That is the reason the it is called W31 file system.
I have win2k and can not fine registry key HKLM or

HKLM is short for HKEY_LOCAL_MACHINE. We all have the same registry root
keys, if you hear someone use a short version, it's one of the chiuces you
have. You will frequently see HKCU, HKU, etc. These are _CURRENT_USER and
_USERS, for example.
any results from "Short file treatment".

True, I used what IO believed to be an alternate topic name, it turns out
there is only one topic that refers to the issue like that (XTeq). Google
for the value name, "Win31filesystem", it will bring up MS articles,
winnetmag, etc, and so will "Win95truncatedextensions", both being related
to some extent.

The idea of documenting is to both see the format and to understand the
implications of the change, know what to roll back if something breaks.
 
I tried 'thisname.doc' and that does not work either.
If I put quotes nothing comes up.
if I put thisname.doc all the files containing that name
come up.

Does it matter if the file name has 2 words?

If this is a reply to any of the previous answers, please reply to the
respective question. Is this post before or after you read my post about
file treatment?

And yes, it does. searching for "hello world" translates to "any file or
folder name that include either *hello* or *world*". Searching for "Book
man" will yield both command.com and redbook.sys.

Also, FYI, double quotes should be used when quoting filenames. ommand.com
will find command.com, whereas "ommand.com" will not.
 
Back
Top