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.

samintz

Scott Mintz
May 20, 2008
1,203
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