How to search in network drive using cmd?

Posted on 2008-10-03
Last Modified: 2008-10-03
Is there method to search files in my mapped network drive in windows using cmd ?
My search companion using windows explorer is disabled!
Question by:jaisonshereen
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 39

Expert Comment

ID: 22635276
dir \\servername\sharename\*.txt /s

or dir h:\*.txt /s

where h: is a mapped drive.

Expert Comment

ID: 22635280
use the dir command. type dir / ? for a list of available options.

Author Comment

ID: 22635376
is there any way to search keywords inside the files ?

Assisted Solution

CorruptedLogic earned 200 total points
ID: 22635405
not that i know of. You'll need to have something like google desktop search in order to do that if your windows search assistant is broken.
LVL 39

Accepted Solution

BrandonGalderisi earned 300 total points
ID: 22635406
not in any efficient way.  Searching non-indexed locations for items in files will always be slow.  

But you can do it with a grep like tool:

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many software programs on offer that will claim to magically speed up your computer. The best advice I can give you is to avoid them like the plague, because they will often cause far more problems than they solve. Try some of these "do it…
When asking a question in a forum or creating documentation, screenshots are vital tools that can convey a lot more information and save you and your reader a lot of time
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question