bat命令生成目录树(包含或不包含文件夹)


tree /F >文件名.xls

tree >文件夹名.xls

原文地址:https://www.cnblogs.com/xiaohi/p/14456214.html