Looking for files with more than 1 period

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
#1
Code:
(global /h /i /q for /a: /h %fn in ("*") DO if %@count[.,"%fn"] gt 1 echo %@full["%fn"]) >>! d:\twodots.lst
It is taking a huge amount of time. Is there a way to search using just DIR /a: /b /s seach term > >! twodots.lst
 
#3
Even simpler IMHO:

dir/f/s/h/nej/ogne *[.]*[.]*

and it will not report files in subtrees that are junctions/symbolic links, nor the .. directories. You may want to control whether or not to report directories using /a:...