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
Since I didn't found complete answer here. Here it is:
Windows CMD doesn't support -L
depth levels.
../../cygdrive/c/myFolder
.tree -L 3 >result.txt
.