Command Prompt searching

  • Thread starter Thread starter Geoff Bayes
  • Start date Start date
G

Geoff Bayes

How do I search for the location of a file when using the command
prompt, and without using windows explorer?
I don't need to do this very often but when I do it has always seemed
to me that there must be a simple way.
I've tried piping the results of a dir through find but it doesn't
work. What I need is an updated version of a .com file I used to have
(still do have, somewhere) called whereis, which won't run under XP.
Any ideas?
Geoff
http://graffiti.virgin.net/geoff.bayes
 
Geoff Bayes said:
How do I search for the location of a file when using the command
prompt, and without using windows explorer?
I don't need to do this very often but when I do it has always seemed
to me that there must be a simple way.
I've tried piping the results of a dir through find but it doesn't
work. What I need is an updated version of a .com file I used to have
(still do have, somewhere) called whereis, which won't run under XP.
Any ideas?
Geoff
http://graffiti.virgin.net/geoff.bayes

Try this:
dir /s c:\abc*.exe

Try googling for a 32-bit version of whereis.exe. Note that
some flavours of whereis.exe will only look for executable
files in the folders defined in the %path%. Others will look
everywhere, which will take much, much longer.
 
Back
Top