codershenghai / shenghaishxt.github.io

My Blog
1 stars 0 forks source link

Windows输出文件夹目录树 | shenghai's blog | shxt #135

Open codershenghai opened 5 years ago

codershenghai commented 5 years ago

http://www.zhangshenghai.com/posts/59250/

首先打开cmd,cd到要输出目录树的文件夹,然后输入: 12tree > info.txt # 不显示文件,只显示目录tree /f > info.txt # 显示文件 即可得到如下图所示的目录树: