tree D:/dir /f >D:/filenames.txt
提取D盘dir目录下所有文件名,写入文件filenames.txt
转载于:https://www.cnblogs.com/yako/p/5189084.html