DOS Command to Find a file

P

Phil Weldon

'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?
|
|
 
R

Ronnie Vernon MVP

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.
 
K

Kiffin Smith

I did discover the Window Logo + F to open the Search window. Is there a
(DOS) or regular command for the Search Wizard ?
 
R

Ronnie Vernon MVP

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?
 

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

DOS prompt 52
dos commands 1
Navigating in DOS 8
Command Prompt v. Run Box? 2
2 DOS questions 3
Dos command? 10
DOS emulator in Windows XP Home 2
Black rectangle 2

Top