Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?


share|improve this question

migrated from Nov 19 '10 at 14:18

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

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... – RobotHumans 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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .