dos下列出某个目录的结构并输出

tree命令: tree [path] /f > d:list.txt 

列举某个文件夹下的所有文件及子目录,去掉/则目录下的文件无法列举

原文地址:https://www.cnblogs.com/helife/p/1914807.html