Find in Files on Network Shared Drives
-
Trying to run ‘Find in Files’ on a shared/mapped network drive fails to return any results, despite the fact that there should be hundreds of results.
Find what: college_summary
Replace with:
Filters: .sql
Directory: J:
Checked boxes: In all sub-foldersNotepad++ v8.5.2 (64-bit)
Build time : Apr 4 2023 - 19:55:32
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 22H2
OS Build : 19045.2846
Current ANSI codepage : 1252
Plugins :
mimeTools (2.9)
NppConverter (4.5)
NppExport (0.4) -
Try
J:\
instead ofJ:
– it may be that aCD J:\some\other\directory
or equivalent had been executed at some point in the past, so Windows thinks the current directory on the J drive is different than the root. By usingJ:\
, you are saying “ignore current directory, and instead enforce starting at the root of J drive”With a Directory of
L:\bin
, where L: is a shared network drive, I was able to find 1124 hits in 84 files of 146 searched for the text I was looking for, using v8.5.2Also, you might want to make sure that Notepad++ currently has access to a file in the J: drive – for example, do File > Open and navigate to a known readable file on J: .