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

1、当前文件夹新建txt;

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

3、修改后缀bat

4、执行该bat文件

 

posted @ 2019-05-08 10:35  狗蛋哥  阅读(879)  评论(0编辑  收藏  举报