Generate a specified folder directory tree in the project

As shown in the figure below, we want to organize the project files into a file tree
insert image description here

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

Guess you like

Origin blog.csdn.net/mingtiannihao0522/article/details/122856794