How to? DIR listing for exact match

samintz

Scott Mintz
May 20, 2008
1,275
11
Solon, OH, USA
#1
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.

-Scott