How do I search for files in Windows File Explorer with a specified extension name?

We can search for files in Windows 7 or later using the following tool: (I don't have image uploads. I mean the top right area in Windows Explorer.)

When I search MATLAB files using "* .m", it not only returns * .m files, but also returns * .mp3, * .mp4 files. Is there a way to show * .m files exclusively?

Thank!

+3


source to share


3 answers


I am assuming that you used quotation marks here to show the text you typed, because ironically, the exact way it works is to put the search in quotation marks ...

So

* m.

finds .mp3 as well as .m but



"* m."

should only find .m files. Alternatively, you can also write

ext: "m."

which would guarantee that only extensions are searched. (Although I'm not sure if this is ever needed here, because while windows may have a period in the filename, and may also have files without extensions, I'm not sure if it's possible to have both at the same time.)

+8


source


using the following

"*. m"



will solve your problem. You can find more information on regex for use in msdn in the following link. Extended query syntax

+2


source


Alternatively, you can just simply find the extension:

.extension

      

eg:

typing .exe

will give you all the .exe files in the folder.

PS: Typing .xml OR .vmcx

will give you both types of files. This is useful if you are trying to create an archive of different types of files stored in different folders or locations.

0


source







All Articles