Computing.Net > Forums > Disk Operating System > search

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

search

Reply to Message Icon

Name: Marc
Date: September 15, 2002 at 16:17:17 Pacific
OS: 2000
CPU/Ram: 400 64ram
Comment:

How can i make a search in dos?

thx



Sponsored Link
Ads by Google

Response Number 1
Name: sean
Date: September 15, 2002 at 17:16:27 Pacific
Reply:

go to Start-> Run -> type in "cmd". from the command prompt type " cd \ " then type this:

C:\> dir [file_name] /s

replace [file_name] with whatever file you want. the /s mean search subdirectories. if you dont put the /s then it will only search the root directory. enjoy.


0

Response Number 2
Name: Dan Penny
Date: September 16, 2002 at 04:37:50 Pacific
Reply:

If the file you're searching for is marked as hidden, it won't show up unless you add the /a (all) switch to the dir command. ie;

dir/a/s filename.ext

(As sean stated, ensure you're in the root directory of the drive you want to search.)


0

Response Number 3
Name: Alfredo
Date: September 16, 2002 at 09:01:58 Pacific
Reply:

C:\>dir filename.ext /s


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: search

searching and appending files www.computing.net/answers/dos/searching-and-appending-files/13218.html

Batch file - search for file www.computing.net/answers/dos/batch-file-search-for-file/12094.html

DOS command to search registry www.computing.net/answers/dos/dos-command-to-search-registry/14076.html