File rename not refreshing results

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
Phlashman
Posts: 41
Joined: Sun Sep 11, 2022 4:57 am

File rename not refreshing results

Post by Phlashman »

Why when I rename a file in Results either using F2 or right click rename does the file not always get renamed? it remains the same :(
When I try again I get the popup "Unable to rename" Error 2
When I open the file folder the file has been renamed. So why after a rename is Everything not picking this up? I closed Everything and reopened it but the same search still shows the original filename which does not exist under that name. Only after forcing a rescan of the entire drive does the results change.

This is on a network drive on a domain.

Everything: 1.5.0.1357a (x64)
OS: Windows NT 10.0 19045 (x64)
void
Developer
Posts: 16748
Joined: Fri Oct 16, 2009 11:31 pm

Re: File rename not refreshing results

Post by void »

Sounds like ReadDirectoryChanges is not picking up the rename.

Under Tools -> Debug -> Statistics -> Folder Index -> <your network drive>

Is Online: reported as Yes/No/Blank?



Please try enabling debug logging to capture any ReadDirectoryChanges errors:
  • In Everything 1.5, from the Tools menu, under the Debug submenu, click Start Debug Logging.
  • Rename a different file.
  • Repeat until you see the rename detection fail
  • From the Tools menu, under the Debug submenu, click Stop Debug Logging.
    ---this will open your Everything Debug Log.txt in Notepad.
  • Could you please send this file to support@voidtools.com



Please try disabling ReadDirectoryChanges and use SHChangeNotify:
  • In Everything 1.5, from the Tools menu, click Options.
  • Click the Advanced tab on the left.
  • To the right of Show settings containing, search for:
    change
  • Select read_directory_changes.
  • Set the value to: false
  • Click OK.
ReadDirectoryChanges is the preferred method for detecting network changes.
SHChangeNotify may help to detect changes made locally.



Consider running an Everything Server on the file server to detect all changes in real-time:
Everything Server
Post Reply