windows

 

Win+R

cmd

tree /f c:\windows >d:\list.txt 

说明:

tree后有空格

/f固定格式

c:\windows为要输出此文件夹下所有文件的目录

>d:\list.tx为输出并保存为d盘list.txt文件

相关文章: