1
2
Looking through Google and super user stack exchange showed me how to search a folder and it's subfolder for hidden files
dir /A:H /S testHiddenFile*.txt
or hidden folders:
dir /A:HD /S testFolder
But how do I search through all sub folders (hidden or non-hidden) for all files with a particular extension. For example I want to find the location of *.log
files under C:\Users\SomeUser\
but these files could be under hidden folders.
Thanks. Upvoted cause this worked as well, though it's longer than the answer in @Biswa's comment (
attrib /s/d *.log
). – Ash – 2017-08-31T04:55:48.233