如何在具有批处理文件的目录树中查找没有文件扩展名的文件? [英] How to find files with no file extension in directory tree with a batch file?
本文介绍了如何在具有批处理文件的目录树中查找没有文件扩展名的文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何编写名为EX5.BAT
的批处理文件,该文件列出Windows文件夹内及其子目录下符合以下任何条件的所有文件?
How to write a batch file called EX5.BAT
that lists all files matching any of the following criteria within the Windows folder and down through its sub directories?
-
以字母C开头的扩展名文件.
Files with an extension starting with letter C.
没有文件扩展名的文件.
Files without a file extension.
推荐答案
dir c:\windows\*. c:\windows\*.c /s/b/a-d
这篇关于如何在具有批处理文件的目录树中查找没有文件扩展名的文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文