CMD tree command limit number of levels

前端 未结 6 1007
盖世英雄少女心
盖世英雄少女心 2021-02-07 04:18

How do I limit the number of levels that the tree command goes through in Windows? I need to output the results to a text file for work, but because by default the tree command

6条回答
  •  無奈伤痛
    2021-02-07 05:13

    Example 3 levels:

    tree|findstr /v /r /c:"^........│" /c:"^│....... " /c:"^ ....... "
    

提交回复
热议问题