Extended Directory Search

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Jan 19, 2011
Norman, OK
Sort the directory choice pop-up window by most frequently selected in descending order (most frequently used on top). I can't use Everything so I regularly update JPSTREE.IDX.
I have a portable install on my work computer and they have it locked down. If you want to help me troubleshoot around it, I'm up for it.
I found a way to run Everything as a regular user. Will post it somewhere next week (still a messy Rubik's cube; needs some twisting and turning to untangle it)

EDIT: Are you just interested in the directories?
Looks like Everything isn't helping. If I type "cd fossil" and then select the folder I want (C:\Users\username\Desktop\Projects\fossil) several times (not selecting others), I want that folder to be on top. I don't care if it uses JPSTREE.IDX or Everything. If there's a setting I'm missing, please point it out.

Screenshot - 20170322_104159.png
Everything.exe keeps track of how many times you opened a folder or file (it's called run-count).
If you open files or folders from the Everything GUI (everything.exe) you can see that this run-count is incremented (right-click on one of the headers and add Run Count to your view).
You can even set a Runcount manually (by rightclicking on a file) and thus give it another "metric"
The runcount statistics are saved in "Run History.csv", alongside the database.

Communication between TCC and Everything.
Everything --> TCC
At least on my configuration TCC ignores the runcount, just like you saw.

TCC --> Everything
After a choice was made in the dialog box, the chosen file/folder didn't get it's runcount incremented.

Long story short: would be useful to know how EVERYTHING and everything.exe behave on a "normal" system regarding this run count issue..
I don't think the EVERYTHING command can deal with the run-count. I believe that command is modelled on an older, relatively simple version of the voidtools command line utility, ES.EXE, which did not have that capability. The newer ES.EXE is a monster and I doubt TCC will ever incorporate all its capabilities in EVERYTHING.

I don't find much value in the run-count. It only counts opening files from within the Everything GUI.

You can download ES.EXE (source code included) from the voidtools site. Here's it's help; a few options mentioned are obsolete. Further below is a sinple example of its use.
Usage: es.exe [options] search text
-r, -regex
   Search using regular expressions.
-i, -case
   Match case.
-w, -ww, -whole-word, -whole-words
   Match whole words.
-p, -match-path
   Match full path and file name.
-h, -help
   Display this help.
-o <offset>, -offset <offset>
   Show results starting from offset.
-n <num>, -max-results <num>
   Limit the number of results shown to <num>.
   sort by full path.
-a, -diacritics
   Match diacritical marks.
-full-path-and-name, -filename-column
-extension, -ext
-date-created, -dc
-date-modified, -dm
-date-accessed, -da
-attributes, -attribs, -attrib
-date-recently-changed, -rc
   Show the specified column.
-sort <name[-ascending|-descending]>, -sort-<name>[-ascending|-descending]
   Set sort
-sort-ascending, -sort-descending
   Set sort order
-instance <name>
   Connect to the unique Everything instance name.
   Highlight results.
-highlight-color <color>
   Highlight color 0-255.
   Change display format.
-export-csv <out.csv>
-export-efu <out.efu>
-export-txt <out.txt>
-export-m3u <out.m3u>
-export-m3u8 <out.m3u8>
   Export to a file.
-size-format <format>
   0=auto, 1=Bytes, 2=KB, 3=MB.
-pause, -more
   Pause after each page of output.
   Don't show any results when there is no search.
   Show help when no search is specified.
-timeout <milliseconds>
   Timeout after the specified number of milliseconds to wait for
   the Everything database to load before sending a query.
-filename-color <color>
-name-color <color>
-path-color <color>
-extension-color <color>
-size-color <color>
-date-created-color <color>, -dc-color <color>
-date-modified-color <color>, -dm-color <color>
-date-accessed-color <color>, -da-color <color>
-attributes-color <color>
-file-list-filename-color <color>
-run-count-color <color>
-date-run-color <color>
-date-recently-changed-color <color>, -rc-color <color>
   Set the column color 0-255.
-filename-width <width>
-name-width <width>
-path-width <width>
-extension-width <width>
-size-width <width>
-date-created-width <width>, -dc-width <width>
-date-modified-width <width>, -dm-width <width>
-date-accessed-width <width>, -da-width <width>
-attributes-width <width>
-file-list-filename-width <width>
-run-count-width <width>
-date-run-width <width>
-date-recently-changed-width <width>, -rc-width <width>
   Set the column width 0-200.
   Format the number with leading zeros, use with -no-digit-grouping.
   Don't group numbers with commas.
-path <path>
   Search for subfolders and files in path.
-parent-path <path>
   Search for subfolders and files in the parent of path.
-parent <path>
   Search for files with the specified parent path.
/on, /o-n, /os, /o-s, /oe, /o-e, /od, /o-d
   DIR style sorts.
   Folders only.
   Files only.
   DIR style attributes search.
   R = Read only.
   H = Hidden.
   S = System.
   D = Directory.
   A = Archive.
   V = Device.
   N = Normal.
   T = Temporary.
   P = Sparse file.
   L = Reparse point.
   C = Compressed.
   O = Offline.
   I = Not content indexed.
   E = Encrypted.
   - = Prefix a flag with - to exclude.
-set-run-count <filename> <count>
   Set the run count for the specified filename.
-inc-run-count <filename>
   Increment the run count for the specified filename by one.
-get-run-count <filename>
   Display the run count for the specified filename.
-save-settings, -clear-settings
   Save or clear settings.
-'s can be omitted, eg: -nodigitgrouping
Switches can also start with a /
Use double quotes to escape spaces and switches.
Switches can be disabled by prefixing them with no-, eg: -no-size.
c:\users\vefatica\desktop> es.exe -dm -run-count -sort-date-created-descending g:\*\tcc.exe
2017/03/09 23:22 2 G:\tc20\tcc.exe
2017/01/04 17:43 0 G:\TCC20\tcc.exe
2016/10/27 07:45 0 G:\tcc-rt\tcc.exe
2016/08/26 20:40 0 G:\tc20 - Copy\tcc.exe
2016/07/23 13:28 0 G:\tc19\tcc.exe
2016/01/29 11:47 0 G:\tccle14\tcc.exe
2015/09/20 22:36 0 G:\TC18\tcc.exe
2014/07/12 10:31 0 G:\TC16\test\tcc.exe
2015/02/27 22:08 0 G:\TC17\tcc.exe
2014/07/12 10:31 0 G:\TC16\tcc.exe
2013/12/27 22:11 0 G:\TC15\tcc.exe
2013/05/08 07:21 0 G:\TCCLE13\tcc.exe
2013/01/19 23:25 0 G:\TC14\tcc.exe
2012/05/02 22:04 0 G:\TC13\tcc.exe
2011/09/07 19:31 0 G:\TC12\tcc.exe
2011/07/06 17:48 0 G:\tc12le\tcc.exe
2010/08/07 22:39 0 G:\TC11\tcc.exe
2010/01/24 09:51 0 G:\TCMD10\tcc.exe
2009/04/25 10:44 0 G:\TCMD9\tcc.exe
2009/03/20 08:09 0 G:\TCMDLE10\tcc.exe
It is not only the command (utility), but also the underlying database structure and the Everything.dll.
But I'm not going into that discussion again... gave me headaches the last time :-)

I don't find much value in the run-count. It only counts opening files from within the Everything GUI.
I already played with the newer versions and managed to build a CDD + counter (sorted by counter).
So a CDD temp gives me a list of folders with temp somewhere in the name; the temp folder you visited the most (as in: CDD't to the most) is on top of that list.
I consider that a nice feature. Build it this afternoon, but I think I keep it.
Last edited:
So a CDD temp gives me a list of folders with temp somewhere in the name; the temp folder you visited the most (as in: CDD't to the most) is on top of that list.
This is exactly why I created this suggestion. The primary "fossil" directory I want to go to (and go to most often) is the one pointed to by the arrow in post #7, not the 15 files and directories above it in the selection box.