Searching for files or file ext in command prompt

  • Thread starter Thread starter Jera
  • Start date Start date
J

Jera

Is there a command to use to search for files in command
prompt? I thought to use wildcard such as *.txt for
all .txt files but that does not work. Also tried test.*
that did not work either. Any ideas?

Thanks,

Jera
 
Yes we all know the dir command. I am looking to search
the computer not the current directory for files where I
know the name not the extension or I know the extension
and not the name.


Thanks,

Jera
 
In said:
Yes we all know the dir command. I am looking to search
the computer not the current directory for files where I
know the name not the extension or I know the extension
and not the name.

DIR

As in DIR c:\*.txt /s /a
But will need to do for each volume (drive letter)

 
Yes we all know the dir command. I am looking to search
the computer not the current directory for files where I
know the name not the extension or I know the extension
and not the name.


Thanks,

Jera

dir /s \test*

dir /s \*.txt

If you *really* want to know the 'dir' command, type 'DIR /?'
(without apostrophes) at a CMD prompt.
 
Back
Top