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

I have several drives mounted in windows:

E:\, F:\, G:\, H:\ I:\, J:\, K:\, etc... 

I want to search for a list of file names across all of these drives in one step rather than selecting each drive and searching it.

dir *name1*,*name2*,*name3*,*name4* /S /B

Which would return a list of matches as they are discovered:

E:\folder\name4.txt
F:\documents\name1.txt

Problem is the find command only allows one name to search and one drive to search

DIR [drive:][path][filename] [/A[[:]attributes]] [/B] [/C] [/D] [/L] [/N] ...
share|improve this question

You must log in to answer this question.

Browse other questions tagged .