DOS Command to Find a file

  • Thread starter Thread starter Kiffin Smith
  • Start date Start date
'Kiffin Smith posted:
Subject: DOS Command to Find a file
| What's the command to search for a file from the Run Prompt?

There is no DOS command to find a file. 'Run' does not accept DOS commands,
it is for opening a program, file, folder, or website. The 'Command Prompt'
does accept 'DOS' commands. The only program native to Windows that can
find a file is Windows explorer, and no matter what program you use to
search for a file, you will still need to enter the parameters of the
search. Entering 'explorer' in the 'Run' window will open 'Windows
Explorer', but you will still need to open the search function and enter
search parameters.

To see a list of available commands, type 'help' at the command prompt. A
list will be displayed with a very short description of each. For more
syntax and more information of each command, type '[ command name ] /?' at
the command prompt (do NOT enter the quote marks or brackets).

Phil Weldon

| What's the command to search for a file from the Run Prompt?
|
|
 
More info.

This information was originally posted by MVP Will Denny.

dir command.
Make sure that you are at the C:\ prompt, then type in "dir undo* /a/s" -
without the quotes - that will list all files and folders beginning with
undo. If you think that there might be a lot of them you can create a file
to have a look at after the search - type in "dir undo* /a/s > undo.txt" -
again without the quotes - the file 'undo.txt' will be created in C:\

The find command is used when searching for a string within a file.
 
I did discover the Window Logo + F to open the Search window. Is there a
(DOS) or regular command for the Search Wizard ?
 
Why don't you simply describe what it is you are trying to accomplish? You created the subject for this thread, "DOS Command to Find a file", but you don't seem to be interested in using a command prompt which is what you must use to enter any DOS commands?

I already posted all the ways you can use a command prompt to search for files and folders.

Are you trying to create some sort of batch file?
 
Back
Top