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
Example 3 levels:
tree|findstr /v /r /c:"^........│" /c:"^│....... " /c:"^ ....... "