DOS Batch FOR Loop to delete Files not Containing a String - Stack Overflow
I want to delete all the files in the current directory which do not contain the string "sample" in their name. for instance, test_final_1.exe test_initial_1.exe test_sample_1.exe test ......