Disable extended directory searches (completely)?

May 20, 2008
10,573
78
Syracuse, NY, USA
I don't use extended directory searches (I have FuzzyCD=0). But still, DKDIR and RMDIR are very slow. Compare these.

Code:
v:\> timer & (mkdir foo & rmdir foo) & timer
Timer 1 on: 11:29:38
Timer 1 off: 11:29:38  Elapsed: 0:00:00.538

v:\> timer & (mkdir /n foo & rmdir /nt foo) & timer
Timer 1 on: 11:29:46
Timer 1 off: 11:29:46  Elapsed: 0:00:00.002
Can I turn it off completely (so that fast is the default)?

And note that (as documented) "/N" works with MKDIR and not with RMDIR.
 

samintz

Scott Mintz
May 20, 2008
1,414
13
Solon, OH, USA
Do you use Everything Search? When run as a service, there's nothing that TCC needs to do to keep the extended directory up to date.
 

rconn

Administrator
Staff member
May 14, 2008
11,910
133
With Extended Searches disabled in OPTION, and Everything Search enabled:

Code:
[D:\TakeCommand26\help\html]timer & (mkdir foo & rmdir foo) & timer
Timer 1 on: 12:12:19p
Timer 1 off: 12:12:19p  Elapsed: 0:00:00.009

[D:\TakeCommand26\help\html]timer & (mkdir /n foo & rmdir /nt foo) & timer
Timer 1 on: 12:12:42p
Timer 1 off: 12:12:42p  Elapsed: 0:00:00.004
I don't think that .005 seconds is worth spending a whole lot of time on. (If I turn off Everything Search, the difference drops to .003 seconds.)
 
May 20, 2008
10,573
78
Syracuse, NY, USA
I needed to get rid of a (10 MB) JPSTREE.IDX file that went back to when this computer was new. I have no complaints now. With no IDX file, extended searches disabled, and Everything not installed,

Code:
v:\> timer & (mkdir foo & rmdir foo) & timer
Timer 1 on: 12:45:10
Timer 1 off: 12:45:10  Elapsed: 0:00:00.003

v:\> timer & (mkdir /n foo & rmdir /nt foo) & timer
Timer 1 on: 12:45:16
Timer 1 off: 12:45:16  Elapsed: 0:00:00.002
Is JPSTREE.IDX ever created automatically (i.e., without my explicitly saying "create/update it")?
 
Apr 18, 2014
247
8
TCC 26.00.26 x64 Windows 10 [Version 10.0.18363.720]
TCC Build 26 Windows 10 Build 18363

FWIW, I have Extended Searches disabled and Everything search enabled and I don't see any difference at all between those commands:

Code:
d:\>timer & (*mkdir foo & *rmdir foo) & timer
Timer 1 on: 17:56:17
Timer 1 off: 17:56:17  Elapsed: 0:00:00.002

d:\>timer & (*mkdir foo /n & *rmdir /nt foo) & timer
Timer 1 on: 17:56:33
Timer 1 off: 17:56:33  Elapsed: 0:00:00.002
 
May 20, 2008
10,573
78
Syracuse, NY, USA
Yes, but only if you have enabled fuzzy searching & disabled Everything Search.
What's the default for FuzzyCD in a new install? I don't recall using FuzzyCD different from 0, or using CDD /S (but I might have done so). For now, JPSTREE.IDX won't come back if I don't do either of those ... right?