خرید بک لینک

I have seen Deleting all files that do not match a certain patte - Windows command line which regards how to delete files in Windows that don't match a certain ending (eg. .gif), and I have seen other questions regarding how to delete files that match a given string (eg delete everything with "a" in it).

However, I have not seen anything regarding how to delete everything that does not contain a certain string within its file name.

I need to delete all zip (other files should not be effected) files in a folder and its subfolders that don't have "MS" (case sensitive) in their file name. These letters may be next to other letters (eg. a file names "ABCMSABC" should be kept because it has "MS" in it, but all other files should be deleted). Multiple files will have "MS" in them.

برچسب: نویسنده: استخدام کار تاريخ: چهارشنبه 26 اسفند 1394 ساعت: 6:58

صفحه بندی