Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Looking for files with more than 1 period

Apr
1,793
15
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
 
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:...
 

Similar threads

Back
Top