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

file lists, excluding files, TC 8.x , win xp pro sp2

Discussion in 'Support' started by CSGalloway@nc.rr.com, Jun 19, 2008.

  1. Hi,

    I am looking for a way to find files where the first char is NOT A-z or 0-9.

    DIR /b /s /[! somename.ext]

    so can you do something like

    DIR /b /s /[! [! a-z0-9]*.ext]

    thanks.
     
  2. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,287
    Likes Received:
    39
    Perhaps something like:

    dir /a /s /b [!a-z0-9]*

    If you want to exclude anything with extension .EXT:

    dir /[!*.ext] /a /s /b [!a-z0-9]*
     

Share This Page