It seems that Everything v1.3.x introduced a bug under a remote desktop connection environment, in which the system variable %SystemRoot% is not correctly resolved.
Here's how this bug appears:
First connect a certain server on which RDP runs. Try to search something randomly on that server but make sure here are some folders in your result. Right click a folder from the result list and choose 'Open Path' and here comes the bug which says something like ‘Windows cannot find c:\users\[username]\windows\explorer.exe' . It seemed that that current user path was added when interpreting %SystemRoot%.
After all, it’s definitely OK when opening the path of any searching result locally and what's more, version 1.2.x does not have this kind of issue both locally and remotely, which has been verified.
I'm not quite sure other system variables are correctly resolved or not. FYI, my server runs a Windows 2008 r2 64bit OS which obviously could not be the root cause.
System Variable Error under a Remote Connection Environment
Re: System Variable Error under a Remote Connection Environm
Thanks for the bug report.
Everything 1.2 uses the same %SystemRoot%\Explorer.exe command.
There must be something wrong with the way this is expanded in 1.3.
Could you please send the debug output when opening a folder?
Everything 1.2 uses the same %SystemRoot%\Explorer.exe command.
There must be something wrong with the way this is expanded in 1.3.
Could you please send the debug output when opening a folder?
Re: System Variable Error under a Remote Connection Environm
Here's the result after
1) running Everything.exe -debug
2) typing 'cde' in the search bar
3) tring to open a random folder '@abstractcicdecim' located in 'C:\Program Files\MATLAB\R2011a\toolbox\dsp\filterdesign\@mfilt\@abstractcicdecim'
1) running Everything.exe -debug
2) typing 'cde' in the search bar
3) tring to open a random folder '@abstractcicdecim' located in 'C:\Program Files\MATLAB\R2011a\toolbox\dsp\filterdesign\@mfilt\@abstractcicdecim'
Code: Select all
search '' filter ''
opened 716 0.000962
create thread PeakWorkingSetSize: 56209408, WorkingSetSize: 56209408
open volume \\?\Volume{bf23582c-e245-11e0-b72c-806e6f6e6963}
create thread PeakWorkingSetSize: 56242176, WorkingSetSize: 56242176
opened 732 0.002893
create thread PeakWorkingSetSize: 56262656, WorkingSetSize: 56262656
open volume \\?\Volume{bf235828-e245-11e0-b72c-806e6f6e6963}
create thread PeakWorkingSetSize: 56283136, WorkingSetSize: 56274944
opened 748 0.001596
create thread PeakWorkingSetSize: 56283136, WorkingSetSize: 56274944
open volume \\?\Volume{bf23582a-e245-11e0-b72c-806e6f6e6963}
create thread PeakWorkingSetSize: 56283136, WorkingSetSize: 56274944
opened 764 0.002193
create thread PeakWorkingSetSize: 56283136, WorkingSetSize: 56274944
open volume \\?\Volume{bf23582b-e245-11e0-b72c-806e6f6e6963}
create thread PeakWorkingSetSize: 56283136, WorkingSetSize: 56274944
opened 780 0.001524
create thread PeakWorkingSetSize: 56283136, WorkingSetSize: 56274944
waiting for 7 handles, isdelay 0...
create thread PeakWorkingSetSize: 56283136, WorkingSetSize: 56274944
create thread PeakWorkingSetSize: 56283136, WorkingSetSize: 56274944
create thread PeakWorkingSetSize: 56283136, WorkingSetSize: 56274944
create thread PeakWorkingSetSize: 56283136, WorkingSetSize: 56274944
create thread PeakWorkingSetSize: 56283136, WorkingSetSize: 56274944
found 0 folders, size 0, db search time taken: 0.021100 seconds
create thread PeakWorkingSetSize: 56283136, WorkingSetSize: 56258560
create thread PeakWorkingSetSize: 56283136, WorkingSetSize: 56279040
create thread PeakWorkingSetSize: 56295424, WorkingSetSize: 56287232
create thread PeakWorkingSetSize: 56295424, WorkingSetSize: 56287232
create thread PeakWorkingSetSize: 56295424, WorkingSetSize: 56287232
create thread PeakWorkingSetSize: 56295424, WorkingSetSize: 56287232
create thread PeakWorkingSetSize: 56295424, WorkingSetSize: 56287232
create thread PeakWorkingSetSize: 56295424, WorkingSetSize: 56287232
create thread PeakWorkingSetSize: 56295424, WorkingSetSize: 56287232
create thread PeakWorkingSetSize: 56295424, WorkingSetSize: 56287232
create thread PeakWorkingSetSize: 56295424, WorkingSetSize: 56287232
create thread PeakWorkingSetSize: 56295424, WorkingSetSize: 56287232
create thread PeakWorkingSetSize: 56295424, WorkingSetSize: 56287232
create thread PeakWorkingSetSize: 56295424, WorkingSetSize: 56287232
create thread PeakWorkingSetSize: 56295424, WorkingSetSize: 56287232
create thread PeakWorkingSetSize: 56295424, WorkingSetSize: 56287232
create thread PeakWorkingSetSize: 56295424, WorkingSetSize: 56287232
create thread PeakWorkingSetSize: 56295424, WorkingSetSize: 56287232
create thread PeakWorkingSetSize: 56295424, WorkingSetSize: 56287232
create thread PeakWorkingSetSize: 56295424, WorkingSetSize: 56287232
create thread PeakWorkingSetSize: 56295424, WorkingSetSize: 56287232
create thread PeakWorkingSetSize: 56295424, WorkingSetSize: 56287232
create thread PeakWorkingSetSize: 56295424, WorkingSetSize: 56287232
create thread PeakWorkingSetSize: 56295424, WorkingSetSize: 56287232
found 0 files, size 0, db search time taken: 0.018241 seconds
_DB_WAIT: _db_ready_proc waiting...
_DB_WAIT: _db_ready_proc waited 0.000631 seconds
search 'c' filter ''
term 006176f0, flags: 0140, next: 00000000, notnext: 00000000
folderop: 2, fileop: 2, term: c
create thread PeakWorkingSetSize: 56295424, WorkingSetSize: 56279040
create thread PeakWorkingSetSize: 56307712, WorkingSetSize: 56307712
create thread PeakWorkingSetSize: 56328192, WorkingSetSize: 56328192
create thread PeakWorkingSetSize: 56360960, WorkingSetSize: 56360960
create thread PeakWorkingSetSize: 56389632, WorkingSetSize: 56389632
create thread PeakWorkingSetSize: 56401920, WorkingSetSize: 56401920
create thread PeakWorkingSetSize: 56426496, WorkingSetSize: 56426496
create thread PeakWorkingSetSize: 56475648, WorkingSetSize: 56475648
create thread PeakWorkingSetSize: 56487936, WorkingSetSize: 56487936
create thread PeakWorkingSetSize: 56553472, WorkingSetSize: 56553472
create thread PeakWorkingSetSize: 56557568, WorkingSetSize: 56557568
create thread PeakWorkingSetSize: 56594432, WorkingSetSize: 56594432
create thread PeakWorkingSetSize: 56606720, WorkingSetSize: 56606720
create thread PeakWorkingSetSize: 56627200, WorkingSetSize: 56610816
found 70774 folders, size 328228, db search time taken: 0.016925 seconds
create thread PeakWorkingSetSize: 56721408, WorkingSetSize: 56606720
create thread PeakWorkingSetSize: 56721408, WorkingSetSize: 56627200
create thread PeakWorkingSetSize: 56721408, WorkingSetSize: 56651776
create thread PeakWorkingSetSize: 56721408, WorkingSetSize: 56680448
create thread PeakWorkingSetSize: 56721408, WorkingSetSize: 56696832
create thread PeakWorkingSetSize: 56721408, WorkingSetSize: 56717312
create thread PeakWorkingSetSize: 56733696, WorkingSetSize: 56733696
create thread PeakWorkingSetSize: 56754176, WorkingSetSize: 56754176
create thread PeakWorkingSetSize: 56774656, WorkingSetSize: 56774656
create thread PeakWorkingSetSize: 56791040, WorkingSetSize: 56791040
create thread PeakWorkingSetSize: 56791040, WorkingSetSize: 56791040
create thread PeakWorkingSetSize: 56811520, WorkingSetSize: 56811520
create thread PeakWorkingSetSize: 56832000, WorkingSetSize: 56832000
create thread PeakWorkingSetSize: 56848384, WorkingSetSize: 56848384
create thread PeakWorkingSetSize: 56868864, WorkingSetSize: 56868864
create thread PeakWorkingSetSize: 56893440, WorkingSetSize: 56893440
create thread PeakWorkingSetSize: 56967168, WorkingSetSize: 56967168
create thread PeakWorkingSetSize: 57065472, WorkingSetSize: 57065472
create thread PeakWorkingSetSize: 57143296, WorkingSetSize: 57143296
create thread PeakWorkingSetSize: 57311232, WorkingSetSize: 57311232
create thread PeakWorkingSetSize: 57483264, WorkingSetSize: 57483264
create thread PeakWorkingSetSize: 57602048, WorkingSetSize: 57602048
create thread PeakWorkingSetSize: 57688064, WorkingSetSize: 57688064
create thread PeakWorkingSetSize: 57880576, WorkingSetSize: 57880576
found 596947 files, size 2427440, db search time taken: 0.062185 seconds
_DB_WAIT: _db_ready_proc waiting...
_DB_WAIT: _db_ready_proc waited 0.000803 seconds
create thread PeakWorkingSetSize: 59580416, WorkingSetSize: 59551744
create thread PeakWorkingSetSize: 59580416, WorkingSetSize: 59568128
search 'cd' filter ''
term 00617d80, flags: 0140, next: 00000000, notnext: 00000000
folderop: 2, fileop: 2, term: cd
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57372672
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57397248
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57417728
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57446400
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57475072
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57491456
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57499648
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57520128
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57540608
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57556992
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57577472
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57573376
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57602048
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57618432
found 2188 folders, size 65816, db search time taken: 0.035462 seconds
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57442304
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57470976
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57491456
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57520128
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57544704
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57573376
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57573376
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57573376
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57602048
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57626624
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57634816
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57655296
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57675776
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57692160
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57716736
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57733120
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57749504
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57778176
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57794560
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57823232
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57843712
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57835520
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57860096
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57860096
found 11102 files, size 65848, db search time taken: 0.072387 seconds
_DB_WAIT: _db_ready_proc waiting...
_DB_WAIT: _db_ready_proc waited 0.001028 seconds
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57561088
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57577472
search 'cde' filter ''
term 07bd67e8, flags: 0140, next: 00000000, notnext: 00000000
folderop: 2, fileop: 2, term: cde
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57413632
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57516032
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57622528
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57647104
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57610240
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57618432
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57647104
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57683968
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57667584
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57663488
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57667584
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57704448
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57712640
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57720832
found 134 folders, size 65808, db search time taken: 0.020705 seconds
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57626624
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57643008
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57671680
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57696256
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57724928
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57753600
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57778176
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57753600
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57778176
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57806848
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57806848
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57831424
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57860096
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57888768
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57913344
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57946112
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57966592
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57982976
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 58003456
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57995264
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 58019840
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 58036224
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 58028032
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 58073088
found 1130 files, size 65812, db search time taken: 0.056095 seconds
_DB_WAIT: _db_ready_proc waiting...
_DB_WAIT: _db_ready_proc waited 0.001090 seconds
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57565184
create thread PeakWorkingSetSize: 60235776, WorkingSetSize: 57581568
ParseDisplayName C:\Program Files\MATLAB\R2011a\toolbox\dsp\filterdesign\@mfilt\
@abstractcicdecim
parse display name C:\Program Files\MATLAB\R2011a\toolbox\dsp\filterdesign\@mfil
t\@abstractcicdecim
parse display name C:\Program Files\MATLAB\R2011a\toolbox\dsp\filterdesign\@mfil
t\@abstractcicdecim
parse display name OK
bind to parent
get menu 1
got menu 129856008
got menu 1
menu type 3
QueryContextMenu...
QueryContextMenu 00000079
track menu 2152035d
WM_INITMENUPOP 2152035d 00000000
menu count 23
wid 4: 119 (00000076)
00000000
VERB open
wid 4: 116 (00000073)
00000000
VERB ACDBrowse
menu item info fail 87
wid 7: 110 (0000006d)
00000000
VERB PreviousVersions
menu item info fail 87
wid 9: 76 (0000004b)
00000000
VERB WinRAR_AddTo
wid 10: 77 (0000004c)
00000000
VERB WinRAR_Add
wid 11: 32765 (00007ffc)
80070057
menu item info fail 87
wid 13: 32764 (00007ffb)
80070057
wid 14: 25 (00000018)
00000000
VERB cut
wid 15: 26 (00000019)
00000000
VERB copy
menu item info fail 87
wid 17: 17 (00000010)
00000000
VERB link
wid 18: 18 (00000011)
00000000
VERB delete
wid 19: 19 (00000012)
00000000
VERB rename
wid 20: 32766 (00007ffd)
80070057
wid 21: 20 (00000013)
00000000
VERB properties
rem dbl sep
Updating \\?\Volume{bf235827-e245-11e0-b72c-806e6f6e6963} (C:):
waiting for 6 handles, isdelay 0...
create thread PeakWorkingSetSize: 63442944, WorkingSetSize: 63025152
update filesystem C:
updated in 0.000029 seconds
waiting for 6 handles, isdelay 1...
_DB_WAIT: _db_ready_proc waiting...
_DB_WAIT: _db_ready_proc waited 0.000836 seconds
waiting for 7 handles, isdelay 0...
Updating \\?\Volume{bf235827-e245-11e0-b72c-806e6f6e6963} (C:):
create thread PeakWorkingSetSize: 63442944, WorkingSetSize: 63025152
waiting for 6 handles, isdelay 0...
update filesystem C:
updated in 0.000652 seconds
waiting for 6 handles, isdelay 1...
_DB_WAIT: _db_ready_proc waiting...
_DB_WAIT: _db_ready_proc waited 0.000768 seconds
waiting for 7 handles, isdelay 0...
idCommand 32769
selection: 1/1: C:\Program Files\MATLAB\R2011a\toolbox\dsp\filterdesign\@mfilt\@
abstractcicdecim
exec: first expr
exec: command $exec("%SystemRoot%\explorer.exe" /select,"%1")
exec: fullfilename C:\Program Files\MATLAB\R2011a\toolbox\dsp\filterdesign\@mfil
t\@abstractcicdecim
exec: depth 0
exec: exec "%SystemRoot%\explorer.exe" /select,"%1")
exec: depth 1
exec: got "%SystemRoot%\explorer.exe" /select,"C:\Program Files\MATLAB\R2011a\to
olbox\dsp\filterdesign\@mfilt\@abstractcicdecim"
exec: expanded "C:\Users\Administrator\WINDOWS\explorer.exe" /select,"C:\Program
Files\MATLAB\R2011a\toolbox\dsp\filterdesign\@mfilt\@abstractcicdecim"
exec: shellexecute (idlist) file:C:\Users\Administrator\WINDOWS\explorer.exe par
am:/select,"C:\Program Files\MATLAB\R2011a\toolbox\dsp\filterdesign\@mfilt\@abst
ractcicdecim"
Enter ShellExecute
WM_ACTIVATE 00000000 00040460, lastfocus 000803a4, current focus 000803a4
WM_ACTIVATE 00000001 00040460, lastfocus 000803a4, current focus 00040460
Leave ShellExecute
ShellExecuteExW(): GetLastError(): 2: failed to execute C:\Users\Administrator\W
INDOWS\explorer.exe
sub buf killed
exec: main thread regained focus
WM_ACTIVATE 00000000 00000000, lastfocus 000903ae, current focus 000903ae
Re: System Variable Error under a Remote Connection Environm
Thanks for the debug output, I have found the problem.
Everything expands %systemroot% on its own for compatibility (GetWindowsDirectory)
Unfortunately, this is expanded to the current user folder on certain Windows OSes.
I will post a fix soon.
Everything expands %systemroot% on its own for compatibility (GetWindowsDirectory)
Unfortunately, this is expanded to the current user folder on certain Windows OSes.
I will post a fix soon.