How to display only files that have alternate data streams in Command Prompt
alternate, batch-file, cmd, prompt, stream
Solution
dir /s /r | findstr /e ":$DATA"
or
dir /r | findstr /e ":$DATA"
the first will search in all sub-directories.The second only in current folder. These will show also the ADS assigned to the directory.For only files:
dir /a-d /s /r | findstr /e ":$DATA"
Problem
I know that to display alternate data streams of all the files (if any) in command prompt, this is the command `dir /R`. But, how do I do it if I only want to display files that have alternate data streams?