显示目录下所有文件列表

控制台下,输入

dir /A-D /S /B path >d:\t.txt

把生成的目录重定向到d:\t.txt文件中

更多命令可查看 dir /?

原文地址:https://www.cnblogs.com/s380774061/p/2664247.html