Answer the question
In order to leave comments, you need to log in
How to search for directories larger than a certain size in cmd?
You need to search for directories larger than a certain size, but directories and not files. Found a very cool way to search for large . But I have a slightly different situation, I have directories in which there are thousands of small files, and therefore I need to select directories, files are not of interest.
forfiles /p c:\ /s /c "cmd /c if @fsize gtr 100000 echo @file @fsize"
@isdir==TRUE
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question