Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows VistaWindows XPWindows MeWindows 98Windows 95Virtual PCInternet ExplorerOutlook ExpressWindows MediaSecurity
Related Topics
MS Server ProductsMS OfficePC HardwareMore Topics ...

Windows Forum / Windows XP / Basics / September 2006

Tip: Looking for answers? Try searching our database.

DOS Command to Find a file

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kiffin Smith - 28 Sep 2006 19:12 GMT
What's the command to search for a file from the Run Prompt?
Rob Giordano (Crash) - 28 Sep 2006 21:04 GMT
I use the dir command

dir *.tmp /s /p
finds all tmp files including subdirectories and pauses display by page.

http://www.computerhope.com/dirhlp.htm#01

| What's the command to search for a file from the Run Prompt?
Phil Weldon - 28 Sep 2006 21:19 GMT
'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?
Ronnie Vernon MVP - 28 Sep 2006 21:37 GMT
Use the following to see the command syntax.

find /?
dir undo /?

Signature

Ronnie Vernon
Microsoft MVP
Windows Shell/User

> What's the command to search for a file from the Run Prompt?
Ronnie Vernon MVP - 28 Sep 2006 21:48 GMT
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.

Signature

Ronnie Vernon
Microsoft MVP
Windows Shell/User

> What's the command to search for a file from the Run Prompt?
Kiffin Smith - 29 Sep 2006 18:32 GMT
I did discover the Window Logo + F to open the Search window. Is there a
(DOS) or regular command for the Search Wizard ?

> What's the command to search for a file from the Run Prompt?
Ronnie Vernon MVP - 29 Sep 2006 19:04 GMT
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?

Signature

Ronnie Vernon
Microsoft MVP
Windows Shell/User

>I did discover the Window Logo + F to open the Search window. Is there a
> (DOS) or regular command for the Search Wizard ?
>
>> What's the command to search for a file from the Run Prompt?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.