2
I have a couple questions about searching for files on Windows 7. I find the XP method much easier than this new Windows 7 search. Note: I am only concerned about finding files whose names match a search term, not all files containing the search term.
Is there a way to search just by filename? When I use the search it seems to be searching within files and returning instances where the name of the file is used. Example: I have a whole web directory and want to find the javascript files. But if I enter
myjavascript.js
in the search, it also returns all the html files which reference the javascript file. This is both slow and difficult to actually find the reference to the file.Is there a way to search for an exact match? The search seems to implicitly use wildcards. For instance, say I have a bunch of files in a folder:
file1.txt
,file11.txt
,file12.txt
, andfile13.txt
. If I enterfile1.txt
in the searcher it returns instances as if I were using a wild cardfile1*.txt
.
1PowerShell is a great suggestion. A lot of people think PowerShell is just in Windows Server 2008, but it is in Windows 7 too. Also really helpful if you are coming from Linux/Unix. – ubiquibacon – 2011-04-01T22:16:58.847