The title has the question, how can I have something like "except this" is cmd.
1 of the reasons that I need this is to delete every file except 1. Some people will tell me this is a duplicate of this question. But the answers aren't good and are for files. This is only an example, I need this for folders and other operations.
This question meight be bad.