How to display only files that have alternate data streams in Command Prompt

前端 未结 1 445
半阙折子戏
半阙折子戏 2021-02-13 01:42

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

1条回答
  •  温柔的废话
    2021-02-13 02:30

    dir   /s /r | find ":$DATA"
    

    or

    dir   /r | find ":$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 | find ":$DATA"
    

    0 讨论(0)
提交回复
热议问题