Another @EVERYTHING question

May 20, 2008
11,388
99
Syracuse, NY, USA
Why do these @EVERYTHING searches work differently?
Code:
v:\> d w*
2016-08-21  00:17  <DIR>  words
2015-02-08  16:06  393  w32h.btm
2014-09-30  23:37  2,320  w32tmparams.btm
2014-10-01  00:17  1,924  w32tmparams17.btm
2015-08-06  11:50  1,791  w32tmparamsx.btm
2016-06-18  12:26  53  who.txt

v:\> echo %@everything[v:\w*,f,3]
V:\w32h.btm V:\w32tmparams.btm

v:\> echo %@everything["v:\w*",f,3]
V:\w32h.btm V:\w32tmparams.btm V:\w32tmparams17.btm V:\w32tmparamsx.btm V:\who.txt
Similar ones using the EVERYTHING command work the same.
Code:
v:\> everything /f /m=3 v:\w*
V:\w32h.btm
V:\w32tmparams.btm

v:\> everything /f /m=3 "v:\w*"
V:\w32h.btm
V:\w32tmparams.btm
 
May 20, 2008
11,388
99
Syracuse, NY, USA
@EVERYTHING doesn't support quoted filenames.
Well, it does accept quoted search specs, and does the right thing with them EXCEPT that when a quoted string is given, a third parameter (max to return) is ignored. Compare these two; the second is correct except for the number returned.
Code:
v:\> everything "<file: regex:v:\\a.* size:>1kb> | <folder: v:\e*>" /m=4
V:\empty
V:\empty\foo
V:\empty\x64
V:\anagram.exe

v:\> echo %@everything["<file: regex:v:\\a.* size:>1kb> | <folder: v:\e*>",,4]
V:\empty V:\empty\foo V:\empty\x64 V:\anagram.exe V:\avtemp.btm V:\avtemp.btm.bak
 
May 20, 2008
11,388
99
Syracuse, NY, USA
Here's another interesting comparison. When the search string is quoted, the max parameter is ignored.
Code:
v:\> echo %@everything[v:\a*,f,4]
"V:\a 1.txt" V:\agediff.btm V:\allchars.btm V:\anagram.exe

v:\> echo %@everything["v:\a*",f,4]
"V:\a 1.txt" V:\agediff.btm V:\allchars.btm V:\anagram.exe V:\avtemp.btm V:\avtemp.btm.bak
 
Similar threads
Thread starter Title Forum Replies Date
jdanielp Cannot step into and/or call another .bat file when debugging .bat file Support 2
vefatica Another popup problem Support 10
S How to? Runs start /w in invisible mode OR run program after exit of another one Support 3
G Press on another Window Support 24
M Another possibly strange remote registry issue Support 5
vefatica Another problem with build 22. Support 3
Patulus Yet another thread on CMD compatibility Support 16
M Take Command 18, migrating to another machine, license problem. Support 1
MickeyF Another TPIPE question Support 6
vefatica Another installer thingy Support 1
C Touch command — I Need to touch matching files in another directory. Support 5
M Another "What is wrong?" Support 8
Bill de Haan Another installation is in progress Support 6
fishman@panix.com Another Problem with The Installer Support 1
Charles Dye Another modest proposal Support 4
Dan Glynhampton Documentation v15 help: Another mailto: link oddity Support 0
M WAD Another weird copy command errror... Support 2
M Yet another strange something re something called "@TCONVERT" Support 8
Charles Dye Documentation Another help nit Support 3
K_Meinhard Documentation Another installer nit Support 1
ehab aboudaya How to? change ALT-F6 to another key Support 1
A How to? Pass output from ffind to another command in a BTM file Support 5
M Another simple question re. Take Command/TCC window witdth in characters... Support 16
Q TCC: (Sys) The process cannot access the file because it is being used by another process. Support 0
M Another bit of weirdness.... Support 0
S MOVE from FTP directory to another FTP directory - bug?? Support 2
vefatica Another debugger observation Support 12
vefatica Another DO /L question Support 1
M Another TCMD "crash" situation... Support 2
S Need help to execute TCC commands on another system Support 6
B TCC doesn't run using another user Support 2
H Another multiple FTP password prompt issue Support 2
Peter Bratton Another little bug? Support 1
M Another problem with renaming files... Support 3
nikbackm Another HISTORY dialog issue Support 0
vefatica Another help nit Support 12
S Another 4NT 8.02 vs TCC 9.02 diff - MOVE command Support 3
p.f.moore Running another batch file without CALL Support 7
A Installers delete EVerything service if already installed Support 0
thorntonpg What is the latest version of everything Support 1
D What does the file "..\Everything\Run history.csv" store? Support 5
C Control Everything CPU usage at startup? Support 7
C v23 Everything still referenced after removing v23 and installing v24 Support 7
CWBillow Everything.exe - 64-bit? Support 8
C How to make list of drive contents when shutdown PC / Everything.exe Support 7
D Range command dialog with blank maximum size erases everything Support 5
B Everything version in Take Command build 39? Support 3
nikbackm Everything - TCC command vs native dialog Support 2
K Everything installation Support 1
R How Do I Get Rid of 'Everything' Support 16

Similar threads