Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

If I do in XP command line:

dir d:\*mov*

I get a list of files contaning mov, move, Moving etc. How do I get the opposite, files not containing mov?

Thanks!

share|improve this question

migrated from serverfault.com Nov 19 '10 at 14:18

This question came from our site for professional system and network administrators.

2 Answers 2

up vote 1 down vote accepted

I see aking1012's response and I raise him...

dir d:\* /a-d | find /v /i "mov"

The restriction on the dir command hides directories and the /i parameter on the find ignores case.

share|improve this answer
    
good points +1... –  hbdgaf Nov 19 '10 at 15:48

this might do the trick:
dir d:\* | find /v mov

share|improve this answer
    
thanks for answering! –  Hax Jun 30 '11 at 16:12

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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