如何读取文件夹下文件的名字

1、当前文件夹新建txt;

2、text内容:dir *.*/b >name.txt

3、修改后缀bat

4、执行该bat文件

原文地址:https://www.cnblogs.com/changhuiming/p/10830380.html