Solved

How to search in network drive using cmd?

Posted on 2008-10-03
5
1,089 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
  • 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
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…

706 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now