(View and save) View and save the file directory structure through the cmd command window under Windows

background

Sometimes we check the directory structure or save the directory structure information to explain the project

1. View the file structure

1. tree /? View tree command operations

2. tree (only displays folders)

tree

 

3.tree /F (all folder files are displayed)

tree /F

2. Save file structure 

Add a "space" after the above command, and then add ">" and the name of the text document, and the system will save the content displayed above into the specified document (if the specified path is entered, then the document will be stored in the specified path. If no
path is specified, the text document will be stored in the current folder directory)

 

 

Guess you like

Origin blog.csdn.net/qq_59747594/article/details/132393353