如何才能检查文件夹是否缺少特定文件?我认为这将是if not exist X (execute Y)
和路径名称的组合,但我还没有能够提出任何解决方案。CMD:检查特定文件夹中是否缺少特定文件
从if /?
EXIST filename Specifies a true condition if the specified filename exists.
不知道在那里我会放文件夹的路径。
基本上我问的是我将如何Check if any type of files exist in a directory using BATCH script,但只在特定文件夹中的特定文件名? (然后在前面放置一个not
)
谢谢您提前。