CMD tree command limit number of levels

前端 未结 6 940
盖世英雄少女心
盖世英雄少女心 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:06

    1. Try to download WSL in your Windows system.

    2. In your command prompt:

      bash

    3. Then you can use Linux commands:

      tree -L x(the layer)

提交回复
热议问题