命令如下: >dir /b *.txt>output.txt dir无需说,/b 是只要文件名,>是重定向。 2013年11月7日13:36:57 转载于:https://www.cnblogs.com/xiandedanteng/p/3412320.html