1、在目录中shift+右键,win10中用powershell打开窗口,win10以下应该是用命令行打开。 2、输入tree /f命令显示目录结构 3、输入tree /f >>1.txt,将目录结构写入1.txt文档 相关文章: