如何在具有批处理文件的目录树中查找没有文件扩展名的文件? [英] How to find files with no file extension in directory tree with a batch file?

查看:81
本文介绍了如何在具有批处理文件的目录树中查找没有文件扩展名的文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何编写名为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?

  1. 以字母C开头的扩展名文件.

  1. Files with an extension starting with letter C.

没有文件扩展名的文件.

Files without a file extension.

推荐答案

dir c:\windows\*. c:\windows\*.c /s/b/a-d

这篇关于如何在具有批处理文件的目录树中查找没有文件扩展名的文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆