开发者

Batch command for if filename contains "X"?

I'm trying to run a batch file through a folder and delete files if their name contains a certain stri开发者_如何学编程ng. I'm not sure how to check the filename against the string though.


why not just

del *X*


This is what you need: http://www.robvanderwoude.com/findstr.php

This is an awesome website for scripts. Loads of other stuff that might be useful if you're into scripting.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜