[SOLVED] Everything doesn't work with directory symbolic link (mklink /d)

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
longtth
Posts: 3
Joined: Mon Apr 27, 2020 2:08 am

[SOLVED] Everything doesn't work with directory symbolic link (mklink /d)

Post by longtth » Thu Feb 18, 2021 8:49 am

Firstly, thank you for your incredible work, EverythingSearch helps me very much on my daily routine.

My problem:
I make some directory symbolic links using

Code: Select all

mklink /h 
to quickly access my files.
eg:

Code: Select all

mklink /d D:\pj C:\users\me\Onedrive\Documents\Projects
The Everything works well in the original folder (C:\users\me\Onedrive\Documents\Projects) , but when I trigger it int symlink folder (D:\pj), Everything doesn't work anymore.
Can you have a look on it?
below is screenshot
Image
Last edited by longtth on Thu Feb 18, 2021 9:02 am, edited 1 time in total.

void
Site Admin
Posts: 6058
Joined: Fri Oct 16, 2009 11:31 pm

Re: Everything doesn't work with directory symbolic link (mklink /d)

Post by void » Thu Feb 18, 2021 8:57 am

Thank you for your feedback.

Everything NTFS indexing does not follow directory symbolic links.

You will need to either:

Use folder indexing (easy, but slow):
  • In Everything, from the Tools menu, click Options.
  • Click the Folders tab.
  • Click Add....
  • Select your directory symbolic link and click OK.
  • Click OK.
-or-

Manually add a NTFS directory symbolic link (difficult, but fast):
  • Make sure Everything is not running (right click the Everything system tray icon and click Exit)
  • Open your %APPDATA%\Everything\Everything.ini
  • Change the following lines:

    auto_remove_offline_ntfs_volumes=1
    ntfs_volume_guids="\\\\?\\Volume{C DRIVE GUID}","\\\\?\\Volume{D DRIVE GUID}"
    ntfs_volume_paths="C:","D:"
    ntfs_volume_roots="",""
    ntfs_volume_includes=1,1
    ntfs_volume_load_recent_changes=0,0
    ntfs_volume_include_onlys="",""
    ntfs_volume_monitors=1,1

    to:

    auto_remove_offline_ntfs_volumes=0
    ntfs_volume_guids="\\\\?\\Volume{C DRIVE GUID}","\\\\?\\Volume{D DRIVE GUID}","\\\\?\\Volume{C DRIVE GUID}"
    ntfs_volume_paths="C:","D:","D:\pj"
    ntfs_volume_roots="","","users\me\Onedrive\Documents\Projects"
    ntfs_volume_includes=1,1,1
    ntfs_volume_load_recent_changes=0,0,0
    ntfs_volume_include_onlys="","",""
    ntfs_volume_monitors=1,1,1
\\\\?\\Volume{C DRIVE GUID} must match the volume GUID For your C: drive.
"D:\pj" is the mount location
"users\me\Onedrive\Documents\Projects" is the root location on your C: drive

auto_remove_offline_ntfs_volumes must be disabled, otherwise the custom volume will be removed, because Everything thinks it is "offline".
Save changes and restart Everything.

If you need any assistance setting up this NTFS directory symbolic link please send me your Everything.ini.

longtth
Posts: 3
Joined: Mon Apr 27, 2020 2:08 am

Re: Everything doesn't work with directory symbolic link (mklink /d)

Post by longtth » Thu Feb 18, 2021 9:01 am

My bad,
add D:\pj to Everything/Tools/Options/Folders and Rescan Now make it work!

longtth
Posts: 3
Joined: Mon Apr 27, 2020 2:08 am

Re: Everything doesn't work with directory symbolic link (mklink /d)

Post by longtth » Thu Feb 18, 2021 9:02 am

Thank you very much for spend time answer my question @void

Post Reply