Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How to find a file with the exact name?

11 Nov 2010   #1
gilmoses

Windows 7 Professional 64 bit
 
 
How to find a file with the exact name?

Hi,
Seen this question posted several times, but no good answer yet.

I'm trying to locate a file on my disk named "gm". Is that seemingly simple task possible on Windows 7? When I search for 'name:gm' or 'name:"gm"' I get hundreds of files, all of them contain 'gm' in their name and to find my file I need to go over the list one by one.

Please help!!
Thanks,
Gil.


My System SpecsSystem Spec
.
11 Nov 2010   #2
Dzomlija

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by gilmoses View Post
Hi,
Seen this question posted several times, but no good answer yet.

I'm trying to locate a file on my disk named "gm". Is that seemingly simple task possible on Windows 7? When I search for 'name:gm' or 'name:"gm"' I get hundreds of files, all of them contain 'gm' in their name and to find my file I need to go over the list one by one.

Please help!!
Thanks,
Gil.
Have you tried using filename:"gm.*"?

I ran a quick test on my system, and searched my pictures library using filename:"obelix", and got the following results:

_asterix_obelix_idefix_1_.jpg
Obelix.jpg

When I changed the search to filename:"obelix.*", thenI only got "Obelix.jpg"

The key therefore is to enclude the filename you are searching for in quotes, and include a period and star wildcard at the end of the filename.
My System SpecsSystem Spec
11 Nov 2010   #3
gilmoses

Windows 7 Professional 64 bit
 
 
Re: How to find a file with the exact name

No go. Try this: create a file named "a" on your disk (no extension), then try to locate it...

Gil.
My System SpecsSystem Spec
.

11 Nov 2010   #4
Dzomlija

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by gilmoses View Post
No go. Try this: create a file named "a" on your disk (no extension), then try to locate it...

Gil.
Works like a charm for me:
-image1.jpg -image2.jpg

Is it possible that the drive/s you are searching are not in your index?:
-image3.jpg

Try the following:
  1. Click the Start Orb
  2. Type "index" without quotes
  3. Click "Indexing Options"
  4. Click "Modify"
  5. Are all you drives checked for indexing?
Are you or have you recently run utilities such as registry cleaners and/or system optimizers other than disk defrag programs? Registry Cleaners have a tendency to make more problems than they solve. "RegVac" has been known to interfere with the Windows Search Index...


My System SpecsSystem Spec
11 Nov 2010   #5
pacinitaly

windows 7 professional & ultimate 64bit laptops
 
 

My System SpecsSystem Spec
11 Nov 2010   #6
mckillwashere

Windows 7 x86/x64, Server 2008r2, Web Server 2008
 
 

My System SpecsSystem Spec
11 Nov 2010   #7
gilmoses

Windows 7 Professional 64 bit
 
 

Dzomlija,
I can see that your search found 180+ files of a certain type, then 9 of another.
You got lucky.. for me (and for the general case) there are 400+ files...

Thanks to the others for the links, I'll check them out.

Gil.
My System SpecsSystem Spec
11 Nov 2010   #8
mborner

Windows 7 Pro/32 Academic. Build 7600
 
 

When you search for "name:GM" Windows is not searching for a file called "GM", it is searching for all files with the letters GM in the name. To prevent this, use "filename:GM", instead.
My System SpecsSystem Spec
14 Nov 2010   #9
gilmoses

Windows 7 Professional 64 bit
 
 

mborner,
'filename' does not work. try this: create a file named "a" on your disk (no extension), then try to create a search query that displays all the files that are named 'a' and THESE FILES ONLY, NOTHING MORE.
None of the suggestions above (excluding external apps) succeeded in displaying ONLY the filename requested.

If this is a Windows 7 deficiency I'll be happy to report it if I knew where

Thanks,
Gil.
My System SpecsSystem Spec
14 Nov 2010   #10
mborner

Windows 7 Pro/32 Academic. Build 7600
 
 

I can assure you, "filename" is a legitemate seach query.

Name:  filename.jpg
Views: 14
Size:  177.5 KB

I apologize if I'm just not understanding your search problem, I'm trying. In your example above, why would anybody have several files on their PC with the exact same name? I'm just not following. First, If I create a file named "A" on my disk and then query "filename:a", I get the file instantly in my results window. If I create 100 files named "A" in 100 different folders on my disk and query "filename:a" I will get the top 100 results for the file located in 100 different folders.
You'll get other files with the letter "a" in the name but the exact file you are searching for will always be the first one on the list. For example, if I searched my entire drive for "filename:a" I may get 6,000 results, but the file, "a", that I'm looking for will be the first item of those 6,000 results. It always works this way. Again, I have to ask, why would you have several hundred files named "GM" on your disk? If you only have 1 file named "GM" and you search for "filename:GM" and you get 25,000 results but the file you are looking for is the very first file, what is the issue? You found your file, who cares about the rest of the results.


My System SpecsSystem Spec
Reply

 How to find a file with the exact name?




Thread Tools




Similar help and support threads
Thread Forum
Windows can't find the file when trying to run a .bat file
When I double click a .bat file windows says it can't find it, but if I do a direct access to the file then it runs it without any problem. Any idea? Tanks!
General Discussion
Which File? (The system cannot find the file specified)
I have a Windows 7 driver installation question that has been nagging me for awhile. I now turn to the forums for help. If I try to install a driver and not all of the driver files are present, I will get the error message "The system cannot find the file specified." But the problem is that it...
Drivers
How do I find which file is damaged?
I did a error scan with HD Tune Pro on a 2TB WDEADS20 and it says that error at 63248 MB. The health status says I have 16 unstable sectors. How can I find which file is damaged before backing up my files to another drive?
Hardware & Devices
Can't find a file
Hey Guys, So, I did something kind of silly and I'm hoping that one of you can help me out. A friend sent me an attachment word document in my gmail. I clicked "Download" and when promped by IE to "Open" or "Save", I clicked "Open" and proceeded to make a lot of edits to the file. When I...
Microsoft Office
File Transfer Dialogue: Exact Time
Hello, I've noticed since my upgrade to Windows 7 that when a file transfer dialogue is going, I'll see the dilaogue populate "Time Remaining: About 45 minutes" for example. Is there a way to get windows to display the exact calculated time, rather than "about x minutes"?
General Discussion
Can't find the FSX.CFG file
Does anyone know how to find the fsx.cfg file for FSX in Windows 7. I have tried to search for it and it is no where to be found. It's not in the same place as vista. I have installed FSX in it's own partition.
Gaming


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 21:41.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App