As shown in the figure below, we want to organize the project files into a file tree
We can achieve it through the tree command of cmd
1. cmd to enter the specified folder, enter the following command
tree
or
tree + specified directory
2. Sometimes it is inconvenient to view the results in the command line window, we can redirect the output of the results and save them. can be saved to the specified file
tree > tree.txt