How to? DIR listing for exact match

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.


Scott Mintz
May 20, 2008
Solon, OH, USA
How do I get a directory listing of just the *.HTM files? Both DIR and PDIR are matching *.HTML. I assume this is because they are matching short file names.

In this particular case I want to match LFN's whose extension is .HTM, not .HTML.

dir /sb *.htm[] does not work.