how to us sysinternal DU along with doskey or findstr?

Dilawar Lambay 0 Reputation points
2025-10-17T13:42:43.4666667+00:00

how to use sysinternal DU along with doskey or findstr?

Sysinternals
Sysinternals
Advanced system utilities to manage, troubleshoot, and diagnose Windows and Linux systems and applications.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MotoX80 36,901 Reputation points
    2025-10-18T22:04:21.2+00:00

    Well, it depends on what you are trying to do.

    Here's an example that reports on directories that contain zero files in the du report.

    du -l 2 c:\windows  | findstr /c:" 0 "
    

    Or the inverse that shows only directories that contain files.

    du -l 2 c:\windows  | findstr /c:" 0 " /v
    
    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.