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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Disable Command Prompt Command 6
Command Prompt v. Run Box? 2
Command Prompt 8
font listing 1
Recovery Console not available 6
using the command prompt 5
Command prompt on XP bootup 2
Batch file path 4

Back
Top