Solved

How to search in network drive using cmd?

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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
robocopy 33 117
Performance logs and alerts 6 30
Reinstall Windows 10 3 26
Windows icons complete gone 8 31
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
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…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

828 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