How to limit the number of levels that the tree command executes on Windows? I need to output the results to a text file for work, but since by default the tree command lists each directory under the one in which you ran the command, the output I get is more than 44,000 lines, which does not help at all for my work. How to limit it to listing only the first levels of a pair?
source share