Posted by SpywareDr on March 01, 2009 at 03:53:37:
In Reply to: List files without a character in dos posted by Alessandro Drudi on February 28, 2009 at 20:18:18:
: How can I list all the files whose names don't
: contain a specific character or, more generally,
: a given string?
##
dir | find "qwerty"
Show only the lines containing the string "qwerty"
dir | find /v "qwerty"
Show only the lines NOT containing the string "qwerty"
dir | find /i /v "qwerty"
'/i'gnore the case of characters, (UPPER-, lower-, MiXeD-case), when searching for lines NOT containing the string "qwerty"