Answer the question
In order to leave comments, you need to log in
How to delete files other than those containing ~ in extension via command line?
I have a script that deletes all files in the folder: del /q c:\myfolder\*.*
, the problem is that the folder may contain a temp.~avi or temp.~wmw file, how can I do this so that if there is a "~" in the name after the dot, then did this file get deleted?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question