Solved

How to search in network drive using cmd?

Posted on 2008-10-03
5
1,093 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 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.
0
 
LVL 39

Accepted Solution

by:
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:

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

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
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…
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…

738 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