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

How to? DIR listing for exact match

Discussion in 'Support' started by samintz, Apr 5, 2013.

  1. samintz

    samintz Scott Mintz

    Joined:
    May 20, 2008
    Messages:
    1,177
    Likes Received:
    11
    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
     
  2. samintz

    samintz Scott Mintz

    Joined:
    May 20, 2008
    Messages:
    1,177
    Likes Received:
    11
    I figured it out. I needed to uncheck the Search for SFN's option.
     

Share This Page