?
Solved

How to search in network drive using cmd?

Posted on 2008-10-03
5
Medium Priority
?
1,095 Views
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!
0
Comment
Question by:jaisonshereen
[X]
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
5 Comments
 
LVL 39

Expert Comment

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

or dir h:\*.txt /s

where h: is a mapped drive.
0
 
LVL 7

Expert Comment

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

Author Comment

by:jaisonshereen
ID: 22635376
is there any way to search keywords inside the files ?
0
 
LVL 7

Assisted Solution

by:CorruptedLogic
CorruptedLogic earned 800 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.
0
 
LVL 39

Accepted Solution

by:
BrandonGalderisi earned 1200 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:

http://gnuwin32.sourceforge.net/packages/grep.htm
0

Featured Post

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

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

Configuring Remote Assistance for use with SCCM
In this modest contribution, I want to share with the IT community (especially system administrators, IT Support Engineers and IT Help Desks) about Windows crashes/hangs and how to deal with these particular problems.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

762 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