windows 下用tree
tree /f 显示当前目录的文件夹/文件 tree /f tree.txt 导出当前目录的文件夹/文件的目录树到tree.txt文件中。
tree /f
tree /f tree.txt