Is "I like dogs but cats" a valid sentence?
This question comes from a debate with my friend. She says this sentence must be valid and gives an example of the Visual Studio string: "Close all but this".
I think the Visual Studio string makes sense since we are excluding a subgroup of a generalized group. However I can't really tell what is the exact meaning of but here and whether we can use it to exclude anything.