SUBST drive to subdirectory on FAT volume broken

Found a bug in "Everything"? report it here
Post Reply
matandra
Posts: 8
Joined: Tue Dec 16, 2025 2:19 pm

SUBST drive to subdirectory on FAT volume broken

Post by matandra »

Everything 1.5.0.1404a does not show files on a SUBST drive which points to subdirectory of a FAT volume.
SUBST S: F:\ is ok
SUBST S: F:\Excel shows only S:

Using a NTFS formatted volume works fine. I came across it while cross-checking all variants for a new IndexThis script.
ChrisGreaves
Posts: 814
Joined: Wed Jan 05, 2022 9:29 pm

Re: SUBST drive to subdirectory on FAT volume broken

Post by ChrisGreaves »

matandra wrote: Sun Jan 25, 2026 2:04 pm Everything 1.5.0.1404a does not show files on a SUBST drive which points to subdirectory of a FAT volume.
SUBST S: F:\ is ok
SUBST S: F:\Excel shows only S:

Using a NTFS formatted volume works fine. I came across it while cross-checking all variants for a new IndexThis script.
I have a data drive T: which is a decrypted VeraCrypt partition; in Explorer right-click, Properties says it is "FAT32"

A subdirectory of T: is a folder "LivingInBonavista"

Two new lines in my boot sequence present me with a drive L:-

Code: Select all

pause
		if not exist L:\NUL subst L: "T:\LivingInBonavista"
		if not "%Timeout%"=="" timeout /T %Timeout%
pause
In Explorer right-click, Properties says that L: is "FAT32"
So far, so good?
The attachment Untitled.jpg is no longer available
Drive L: has a single folder "2024", which itself holds 190 items (images, documents, ...)
Untitled.jpg
Untitled.jpg (105.69 KiB) Viewed 1665 times
Everything Version 1.5.0.1403a (x64) appears to duplicate your problem.

Am I correct?
If so I offer to test any solutions.

I am a bit of a fanatic with SUBST since before the days of Windows.' I have attached a test-only version of my Fakes.BAT file.
cheers, Chris
Attachments
Untitled2.jpg
Untitled2.jpg (48.39 KiB) Viewed 1665 times
matandra
Posts: 8
Joined: Tue Dec 16, 2025 2:19 pm

Re: SUBST drive to subdirectory on FAT volume broken

Post by matandra »

Ok, a little bit fanatic, perhaps ;)
Since Everything is able to access a SUBST drive which points to a root directory I suspect a small logic error ...

Can you verify that X: shows files in Everything after executing

Code: Select all

subst X: T:\
?
ChrisGreaves
Posts: 814
Joined: Wed Jan 05, 2022 9:29 pm

Re: SUBST drive to subdirectory on FAT volume broken

Post by ChrisGreaves »

matandra wrote: Sun Jan 25, 2026 5:08 pm Ok, a little bit fanatic, perhaps ;)
Phew! That's a relief. Good to know I'm not insane :evil:
Can you verify that X: shows files in Everything after executing
subst X: T:\
?
Yes,

Code: Select all

pause
		if not exist L:\NUL subst L: "T:\LivingInBonavista"
		if not "%Timeout%"=="" timeout /T %Timeout%
		subst X: T:\
pause
Everything shows (filter "Everything") that T:\ has 17,376 items and X: has 17,376 items.

I suppose that when you SUBST X: to T:\ that you would not see the same number of items?

I'm no expert, just a SUBST-ti-tutor.
What happens if you rebuild indexes? Tools, Options, Indexes, Force rebuild?
What happens if you reboot and try again?
Cheers, Chris
ChrisGreaves
Posts: 814
Joined: Wed Jan 05, 2022 9:29 pm

Re: SUBST drive to subdirectory on FAT volume broken

Post by ChrisGreaves »

In my Copious FreeTM I thought to map sub-folderwise.

Code: Select all

pause
		if not exist L:\NUL subst L: "T:\LivingInBonavista"
		if not "%Timeout%"=="" timeout /T %Timeout%
		subst X: T:\
		subst Y: T:\BatLap
		subst Z: T:\BatLap\
pause
Since my Fakes.bat lives in T:\Batlap, this prompted execution of Fakes.bat to have Windows throw up an error along the lines of the batch file (in T:\Batlap) no longer being available.
Untitled3.jpg
Untitled3.jpg (60.53 KiB) Viewed 1649 times
A rerun of the batch file Fakes.bat immediately shows only one item, to wit, Y: itself!
Note that I have changed my search box, because there are NO doc files in T:\BatLap

I think I am circling around your perceived error.
Cheers, Chris
matandra
Posts: 8
Joined: Tue Dec 16, 2025 2:19 pm

Re: SUBST drive to subdirectory on FAT volume broken

Post by matandra »

A rescan, rebuild or reboot did not change anything.

I found another strange behaviour:
G: is FAT, S: points to G:\, both are not included

1) Set search to S: -> nothing visible (of course not, since not included)
2) Include S: -> result list shows the 711 items
3) Set search to G: -> nothing visible ?!?
4) Exclude S: -> still nothing visible
5) Exclude G:, apply, include G: OK -> result list shows the 711 items

You can toggle the list off/on bei including/excluding S:

Somehow original does not show up when substitute is also included ...
ChrisGreaves
Posts: 814
Joined: Wed Jan 05, 2022 9:29 pm

Re: SUBST drive to subdirectory on FAT volume broken

Post by ChrisGreaves »

matandra wrote: Sun Jan 25, 2026 7:05 pmI found another strange behaviour:
Okey-dokey. Now I am getting out of my depth. I don't know what is wrong, but I hope that Void will tell us what to do. I remain prepared to conduct trials,especially around what I found.
I suspect that MY mapping of SUBST drives was a bit illegal; perhaps my re-mapping a drive which holds a batch file under execution is not a recommended practice. :o Cheers, Chris
void
Developer
Posts: 19568
Joined: Fri Oct 16, 2009 11:31 pm

Re: SUBST drive to subdirectory on FAT volume broken

Post by void »

FAT SUBST volumes are not working at all at the moment.

Both indexing and monitoring will fail.
I will have this fixed in the next alpha update.

Thank you for bringing this issue to my attention.



For now, please add your SUBST folder as a folder index under Tools -> Options -> Folders.
ChrisGreaves
Posts: 814
Joined: Wed Jan 05, 2022 9:29 pm

Re: SUBST drive to subdirectory on FAT volume broken

Post by ChrisGreaves »

void wrote: Sun Jan 25, 2026 11:46 pm FAT SUBST volumes are not working at all at the moment. ... For now, please add your SUBST folder as a folder index under Tools -> Options -> Folders.
Thank you Void. I believe that this is the same advice you gave me about 12 months ago. <mea culpa>
Cheers Chris
P.S. "There is NO substitute for Everything" C
void
Developer
Posts: 19568
Joined: Fri Oct 16, 2009 11:31 pm

Re: SUBST drive to subdirectory on FAT volume broken

Post by void »

Everything 1.5.0.1405a fixes an issue with indexing SUBST FAT volumes.

Do you have any troubles indexing SUBST FAT volumes with this version?
matandra
Posts: 8
Joined: Tue Dec 16, 2025 2:19 pm

Re: SUBST drive to subdirectory on FAT volume broken

Post by matandra »

Thank you, Void. The problem is gone.
Post Reply