0

In a folder i want all files except more than one file extension like pdf and html file.
I have already got for single file extension which is

NOT *.pdf  

But In my case I want to exclude two file extension which is html and pdf. What is the way to exclude more than one file extension in windows 7 or Windows *?

1
2

You can chain NOT with AND to create multiple conditions.

e.g.

NOT *.pdf AND NOT *.html

This should give you the results you desire.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.