Code: Select all
-highlighed-name
-highlighed-path
-highlighed-full-path-and-name
Code: Select all
-highlighed-name
-highlighed-path
-highlighed-full-path-and-name
Removed, thanks.-highlighed-name
-highlighed-path
-highlighed-full-path-and-name
Code: Select all
-date-created, -dc
-date-modified, -dm
-date-accessed, -da
-date-run
Code: Select all
-attributes, -attribs, -attrib
Code: Select all
es.exe -highlight c:\sy
This file information must be indexed by Everything, check your indexing settings:And while these seem implemented in the arg parsing, they produce no additional output.
This is the expected behavior.I get several results for C:\System Volume Information[...], but the only text that's highlighted is "C:\SY".
You can post images here.OT: Can I post images here? ... or only URLs to images?
Code: Select all
c:\users\vefatica\desktop> es.exe -dc -sort-date-created-descending g:\*\tcc.exe
2017/03/09 23:22 G:\tc20\tcc.exe
2017/01/04 17:43 G:\TCC20\tcc.exe
2016/10/27 07:45 G:\tcc-rt\tcc.exe
<snip>
c:\users\vefatica\desktop> es.exe -dc -sort-date-created-ascending g:\*\tcc.exe
2017/03/09 23:22 G:\tc20\tcc.exe
2017/01/04 17:43 G:\TCC20\tcc.exe
2016/10/27 07:45 G:\tcc-rt\tcc.exe
<snip>
Please use imgur, or post the image as an attachment to your post.How do I post an image? The only method I can find is [img]URL[/img] and I'll find out right now if FTP works. Is there a more direct way?
Image
I updated to 1.4.1.859b (x86) and the two sorts I mentioned earlier still produce the same results, both sorted descending. I can toggle ascending/descending in the Everything GUI just fine. But I still get this with ES.EXEThe sorting worked for me in previous versions of Everything so I'm not sure what is going on there..
Code: Select all
v:\> es.exe -dc -sort-date-created-descending g:\*\tcc.exe
2017/03/09 23:22 G:\tc20\tcc.exe
2017/01/04 17:43 G:\TCC20\tcc.exe
2016/10/27 07:45 G:\tcc-rt\tcc.exe
2016/09/02 11:43 G:\tc20 - Copy\tcc.exe
2016/07/23 13:28 G:\tc19\tcc.exe
<snip>
v:\> es.exe -dc -sort-date-created-ascending g:\*\tcc.exe
2017/03/09 23:22 G:\tc20\tcc.exe
2017/01/04 17:43 G:\TCC20\tcc.exe
2016/10/27 07:45 G:\tcc-rt\tcc.exe
2016/09/02 11:43 G:\tc20 - Copy\tcc.exe
2016/07/23 13:28 G:\tc19\tcc.exe
<snip>
Code: Select all
p:\myes\release> myes.exe -dc -sort-date-created-descending g:\*\tcc.exe
es_sendquery2: query->sort_type = 12
es_sendquery2() ... Success!
2017/03/09 23:22 G:\tc20\tcc.exe
2017/01/04 17:43 G:\TCC20\tcc.exe
2016/10/27 07:45 G:\tcc-rt\tcc.exe
p:\myes\release> myes.exe -dc -sort-date-created-ascending g:\*\tcc.exe
es_sendquery2: query->sort_type = 11
es_sendquery2() ... Success!
2017/03/09 23:22 G:\tc20\tcc.exe
2017/01/04 17:43 G:\TCC20\tcc.exe
2016/10/27 07:45 G:\tcc-rt\tcc.exe
Code: Select all
IPC: execute query: g:\*\tcc.exe
search 'g:\*\tcc.exe' filter '' sort 11
Code: Select all
IPC: execute query: g:\*\tcc.exe
search 'g:\*\tcc.exe' filter '' sort 10
Code: Select all
v:\> es -dc -sort-date-created-descending g:\*\tcc.exe
2017/03/09 23:22 G:\tc20\tcc.exe
2017/01/04 17:43 G:\TCC20\tcc.exe
2016/10/27 07:45 G:\tcc-rt\tcc.exe
2016/09/02 11:43 G:\tc20 - Copy\tcc.exe
2016/07/23 13:28 G:\tc19\tcc.exe
2016/01/29 11:47 G:\tccle14\tcc.exe
2015/09/20 22:36 G:\TC18\tcc.exe
2015/05/19 17:14 G:\TC16\test\tcc.exe
2015/02/27 22:08 G:\TC17\tcc.exe
2014/07/12 10:31 G:\TC16\tcc.exe
2013/12/27 22:11 G:\TC15\tcc.exe
2013/05/08 07:21 G:\TCCLE13\tcc.exe
2013/01/19 23:25 G:\TC14\tcc.exe
2012/07/03 23:54 G:\TC13\tcc.exe
2012/02/29 22:38 G:\TC12\tcc.exe
2011/07/06 17:48 G:\tc12le\tcc.exe
2010/08/07 22:39 G:\TC11\tcc.exe
2010/01/24 09:51 G:\TCMD10\tcc.exe
2009/04/25 10:44 G:\TCMD9\tcc.exe
2009/03/20 08:09 G:\TCMDLE10\tcc.exe
v:\> es -dc -sort-date-created-ascending g:\*\tcc.exe
2017/03/09 23:22 G:\tc20\tcc.exe
2017/01/04 17:43 G:\TCC20\tcc.exe
2016/10/27 07:45 G:\tcc-rt\tcc.exe
2016/09/02 11:43 G:\tc20 - Copy\tcc.exe
2016/07/23 13:28 G:\tc19\tcc.exe
2016/01/29 11:47 G:\tccle14\tcc.exe
2015/09/20 22:36 G:\TC18\tcc.exe
2015/05/19 17:14 G:\TC16\test\tcc.exe
2015/02/27 22:08 G:\TC17\tcc.exe
2014/07/12 10:31 G:\TC16\tcc.exe
2013/12/27 22:11 G:\TC15\tcc.exe
2013/05/08 07:21 G:\TCCLE13\tcc.exe
2013/01/19 23:25 G:\TC14\tcc.exe
2012/07/03 23:54 G:\TC13\tcc.exe
2012/02/29 22:38 G:\TC12\tcc.exe
2011/07/06 17:48 G:\tc12le\tcc.exe
2010/08/07 22:39 G:\TC11\tcc.exe
2010/01/24 09:51 G:\TCMD10\tcc.exe
2009/04/25 10:44 G:\TCMD9\tcc.exe
2009/03/20 08:09 G:\TCMDLE10\tcc.exe
Code: Select all
Everything
Version 1.4.1.860b (x86)
Windows NT 6.1
Processors 4
IsAdmin 0
AppData 0
Service 1
cmdline "C:\DEV\Locate\Everything.exe"
WM_ACTIVATE 00000000 00000000, lastfocus 00380dd2, current focus 00380dd2
update m 1 7877984
update index E:
USN CREATE 7CXXOSVZ86AK4IIFOLPJ.temp
USN CREATE DATA_EXTEND 7CXXOSVZ86AK4IIFOLPJ.temp
USN CREATE DATA_EXTEND CLOSE 7CXXOSVZ86AK4IIFOLPJ.temp
USN BASIC_INFO_CHANGE 7CXXOSVZ86AK4IIFOLPJ.temp
USN BASIC_INFO_CHANGE SECURITY_CHANGE 7CXXOSVZ86AK4IIFOLPJ.temp
USN CREATE c00ab7717503333e.customDestinations-ms~RF118dd055.TMP
USN CREATE CLOSE c00ab7717503333e.customDestinations-ms~RF118dd055.TMP
USN DELETE CLOSE c00ab7717503333e.customDestinations-ms~RF118dd055.TMP
USN RENAME_OLD_NAME c00ab7717503333e.customDestinations-ms
USN RENAME_NEW_NAME c00ab7717503333e.customDestinations-ms~RF118dd055.TMP
USN RENAME_OLD_NAME BASIC_INFO_CHANGE SECURITY_CHANGE 7CXXOSVZ86AK4IIFOLPJ.temp
USN RENAME_NEW_NAME BASIC_INFO_CHANGE SECURITY_CHANGE c00ab7717503333e.customDes
tinations-ms
USN RENAME_NEW_NAME CLOSE c00ab7717503333e.customDestinations-ms~RF118dd055.TMP
USN RENAME_NEW_NAME BASIC_INFO_CHANGE SECURITY_CHANGE CLOSE c00ab7717503333e.cus
tomDestinations-ms
USN DELETE CLOSE c00ab7717503333e.customDestinations-ms~RF118dd055.TMP
updated E: in 0.007841 seconds
resume ntfs monitor 1
processed usn records in 0.000889 seconds
DB_WAIT: _db_ready_proc waiting...
DB_WAIT: _db_ready_proc waited 0.000092 seconds
update m 1 7877984
update index E:
USN DATA_TRUNCATION CONHOST.EXE-E6AFC9F5.pf
USN DATA_EXTEND DATA_TRUNCATION CONHOST.EXE-E6AFC9F5.pf
USN DATA_EXTEND DATA_TRUNCATION CLOSE CONHOST.EXE-E6AFC9F5.pf
updated E: in 0.002528 seconds
resume ntfs monitor 1
processed usn records in 0.000173 seconds
DB_WAIT: _db_ready_proc waiting...
DB_WAIT: _db_ready_proc waited 0.000112 seconds
IPC: execute query: h:/*/*/*/ncmain.exe
search 'h:/*/*/*/ncmain.exe' filter '' sort 10
term 00800a38, flags: 3144, next: 00000000, notnext: 00000000
folderop: 106, fileop: 106, term: h:\*\*\*\ncmain.exe
SET SORT 0
IPC: wait 2
found 0 folders, size 0, db search time taken: 0.105969 seconds
found 6 files, size 65540, db search time taken: 0.619203 seconds
set sort 10 1
find uncached items...
sorting by path...
caching...
sorting cache...
SET SORT 4 10
finished sort, time taken 0.000951 seconds
update selection 0.000000 seconds
DB_WAIT: _db_ready_proc waiting...
DB_WAIT: _db_ready_proc waited 0.000074 seconds
when ready 11 0000002d 00000000
when ready 11 0000002d 00000000
ipc sort 10
SIZE CHECK 642 642 diff 0 count 6
IPC: query complete: 4294967295 max results, offset 0, reply hwnd 7340808
IPC: watch awake
IPC: Client disconnected.
update m 1 7877984
update index E:
USN DATA_TRUNCATION ES.EXE-093B7E02.pf
USN DATA_EXTEND DATA_TRUNCATION ES.EXE-093B7E02.pf
USN DATA_EXTEND DATA_TRUNCATION CLOSE ES.EXE-093B7E02.pf
updated E: in 0.001013 seconds
resume ntfs monitor 1
processed usn records in 0.000089 seconds
DB_WAIT: _db_ready_proc waiting...
DB_WAIT: _db_ready_proc waited 0.000054 seconds
IPC: execute query: h:/*/*/*/ncmain.exe
search 'h:/*/*/*/ncmain.exe' filter '' sort 11
IPC: wait 2
term 00800a38, flags: 3144, next: 00000000, notnext: 00000000
folderop: 106, fileop: 106, term: h:\*\*\*\ncmain.exe
SET SORT 0
found 0 folders, size 0, db search time taken: 0.105938 seconds
found 6 files, size 65540, db search time taken: 0.626387 seconds
set sort 11 1
find uncached items...
sorting by path...
caching...
sorting cache...
SET SORT 4 11
finished sort, time taken 0.001016 seconds
update selection 0.000000 seconds
DB_WAIT: _db_ready_proc waiting...
DB_WAIT: _db_ready_proc waited 0.000054 seconds
when ready 11 0000002d 00000000
ipc sort 11
SIZE CHECK 642 642 diff 0 count 6
IPC: query complete: 4294967295 max results, offset 0, reply hwnd 7668488
IPC: watch awake
IPC: Client disconnected.
update m 0 7877800
update index C:
Code: Select all
IPC: execute query: v:\void\*
search 'v:\void\*' filter '' sort 10
IPC: wait 2
FOLDER SEARCH V:\void
term 03db4188, flags: 3144, next: 00000000, notnext: 00000000
folderop: 260, fileop: 260, term: v:\void\*
SET SORT 0
found 0 folders, size 0, db search time taken: 0.000559 seconds
found 5 files, size 65540, db search time taken: 0.001967 seconds
set sort 10 1
SET SORT 4 10
finished sort, time taken 0.000401 seconds
update selection 0.000001 seconds
DB_WAIT: _db_ready_proc waiting...
DB_WAIT: _db_ready_proc waited 0.000203 seconds
ipc sort 10
SIZE CHECK 270 270 diff 0 count 5
IPC: query complete: 4294967295 max results, offset 0, reply hwnd 787402
Code: Select all
p:\myes\release> myes -dc -sort-date-created-ascending v:\void\*
es_sendquery2: query->sort_type = 11
es_sendquery2() ... Success!
2004/12/31 23:00 V:\void\test.5
2003/12/31 23:00 V:\void\test.4
2002/12/31 23:00 V:\void\test.3
2001/12/31 23:00 V:\void\test.2
2000/12/31 23:00 V:\void\test.1
Code: Select all
wprintf(L"es_sendquery2: cds.lpData->sort_type = %d\n", ((EVERYTHING_IPC_QUERY2*) cds.lpData)->sort_type);
Code: Select all
p:\myes\release> myes -dc -sort-date-created-ascending v:\void\*
es_sendquery2: cds.lpData->sort_type = 11
es_sendquery2: cds.lpData->sort_type = 11
es_sendquery2() ... Success!
2004/12/31 23:00 V:\void\test.5
2003/12/31 23:00 V:\void\test.4
2002/12/31 23:00 V:\void\test.3
2001/12/31 23:00 V:\void\test.2
2000/12/31 23:00 V:\void\test.1
Code: Select all
ipc sort 10
Code: Select all
search '-rc' filter '' sort 0
Code: Select all
search '' filter '' sort 0
Code: Select all
LRESULT __stdcall es_window_proc(HWND hwnd,UINT msg,WPARAM wParam,LPARAM lParam)
{
switch(msg)
{
case WM_COPYDATA:
{
COPYDATASTRUCT *cds = (COPYDATASTRUCT *)lParam;
switch(cds->dwData)
{
case ES_COPYDATA_IPCTEST_QUERYCOMPLETEW:
es_listresultsW((EVERYTHING_IPC_LIST *)cds->lpData);
return TRUE;
case ES_COPYDATA_IPCTEST_QUERYCOMPLETE2W:
{
if ((int)((EVERYTHING_IPC_LIST2 *)cds->lpData)->numitems)
{
// add the following line to find out what sort we got.
printf("got result sort %d\n",((EVERYTHING_IPC_LIST2 *)cds->lpData)->sort_type);
...
Code: Select all
#define DB_SORT_NAME_ASCENDING 0
#define DB_SORT_NAME_DESCENDING 1
#define DB_SORT_PATH_ASCENDING 2
#define DB_SORT_PATH_DESCENDING 3
#define DB_SORT_SIZE_ASCENDING 4
#define DB_SORT_SIZE_DESCENDING 5
#define DB_SORT_EXTENSION_ASCENDING 6
#define DB_SORT_EXTENSION_DESCENDING 7
#define DB_SORT_TYPE_NAME_ASCENDING 8
#define DB_SORT_TYPE_NAME_DESCENDING 9
#define DB_SORT_DATE_CREATED_ASCENDING 10
#define DB_SORT_DATE_CREATED_DESCENDING 11
#define DB_SORT_DATE_MODIFIED_ASCENDING 12
#define DB_SORT_DATE_MODIFIED_DESCENDING 13
#define DB_SORT_ATTRIBUTES_ASCENDING 14
#define DB_SORT_ATTRIBUTES_DESCENDING 15
#define DB_SORT_FILE_LIST_FILENAME_ASCENDING 16
#define DB_SORT_FILE_LIST_FILENAME_DESCENDING 17
#define DB_SORT_RUN_COUNT_ASCENDING 18
#define DB_SORT_RUN_COUNT_DESCENDING 19
#define DB_SORT_DATE_RECENTLY_CHANGED_ASCENDING 20
#define DB_SORT_DATE_RECENTLY_CHANGED_DESCENDING 21
#define DB_SORT_DATE_ACCESSED_ASCENDING 22
#define DB_SORT_DATE_ACCESSED_DESCENDING 23
#define DB_SORT_DATE_RUN_ASCENDING 24
#define DB_SORT_DATE_RUN_DESCENDING 25
Code: Select all
#define EVERYTHING_IPC_SORT_NAME_ASCENDING 1
#define EVERYTHING_IPC_SORT_NAME_DESCENDING 2
#define EVERYTHING_IPC_SORT_PATH_ASCENDING 3
#define EVERYTHING_IPC_SORT_PATH_DESCENDING 4
#define EVERYTHING_IPC_SORT_SIZE_ASCENDING 5
#define EVERYTHING_IPC_SORT_SIZE_DESCENDING 6
#define EVERYTHING_IPC_SORT_EXTENSION_ASCENDING 7
#define EVERYTHING_IPC_SORT_EXTENSION_DESCENDING 8
#define EVERYTHING_IPC_SORT_TYPE_NAME_ASCENDING 9
#define EVERYTHING_IPC_SORT_TYPE_NAME_DESCENDING 10
#define EVERYTHING_IPC_SORT_DATE_CREATED_ASCENDING 11
#define EVERYTHING_IPC_SORT_DATE_CREATED_DESCENDING 12
#define EVERYTHING_IPC_SORT_DATE_MODIFIED_ASCENDING 13
#define EVERYTHING_IPC_SORT_DATE_MODIFIED_DESCENDING 14
#define EVERYTHING_IPC_SORT_ATTRIBUTES_ASCENDING 15
#define EVERYTHING_IPC_SORT_ATTRIBUTES_DESCENDING 16
#define EVERYTHING_IPC_SORT_FILE_LIST_FILENAME_ASCENDING 17
#define EVERYTHING_IPC_SORT_FILE_LIST_FILENAME_DESCENDING 18
#define EVERYTHING_IPC_SORT_RUN_COUNT_ASCENDING 19
#define EVERYTHING_IPC_SORT_RUN_COUNT_DESCENDING 20
#define EVERYTHING_IPC_SORT_DATE_RECENTLY_CHANGED_ASCENDING 21
#define EVERYTHING_IPC_SORT_DATE_RECENTLY_CHANGED_DESCENDING 22
#define EVERYTHING_IPC_SORT_DATE_ACCESSED_ASCENDING 23
#define EVERYTHING_IPC_SORT_DATE_ACCESSED_DESCENDING 24
#define EVERYTHING_IPC_SORT_DATE_RUN_ASCENDING 25
#define EVERYTHING_IPC_SORT_DATE_RUN_DESCENDING 26
Code: Select all
v:\void> es -sort-dm-ascending v:\void\*
V:\void\test.1
V:\void\test.2
V:\void\test.3
V:\void\test.4
V:\void\test.5
v:\void> es -sort-dm-descending v:\void\*
V:\void\test.5
V:\void\test.4
V:\void\test.3
V:\void\test.2
V:\void\test.1
v:\void> es -sort-da-ascending v:\void\*
V:\void\test.5
V:\void\test.4
V:\void\test.3
V:\void\test.2
V:\void\test.1
v:\void> es -sort-da-descending v:\void\*
V:\void\test.5
V:\void\test.4
V:\void\test.3
V:\void\test.2
V:\void\test.1
try putting in a catch in WM_COPYDATA for ES_COPYDATA_IPCTEST_QUERYCOMPLETE2W:
wprintf(L"WindowProc: got result sort %d\n",((EVERYTHING_IPC_LIST2 *)cds->lpData)->sort_type);
Code: Select all
p:\myes\release> myes -sort-da-descending v:\void\*
es_sendquery2: query->sort_type = 24
es_sendquery2: cds.lpData->sort_type = 24
es_sendquery2: cds.lpData->request_flags = 4
es_sendquery2: cds.lpData->sort_type = 24
es_sendquery2() ... Success!
WindowProc: got result sort 24
V:\void\test.5
V:\void\test.4
V:\void\test.3
V:\void\test.2
V:\void\test.1
p:\myes\release> myes -sort-da-ascending v:\void\*
es_sendquery2: query->sort_type = 23
es_sendquery2: cds.lpData->sort_type = 23
es_sendquery2: cds.lpData->request_flags = 4
es_sendquery2: cds.lpData->sort_type = 23
es_sendquery2() ... Success!
WindowProc: got result sort 23
V:\void\test.5
V:\void\test.4
V:\void\test.3
V:\void\test.2
V:\void\test.1