Using "everything"

Jun 28, 2008
69
2
Chicago
www.pement.org
I would like to see a more particular explanation of how Everything (the voidtools utility) ought to be used in conjunction with Take Command. I have already looked at the help file, and it doesn't answer what I'm seeking. I want to know more particularly the pros and cons of different installation types (e.g., why or when to install as administrator?), what to index (or not), and how an expert should use it.

Interestingly, I cannot search for the word "everything" in the forum I am reading now (supposedly, this word is too common to index). Please illustrate with some real examples of actual use. Thanks.

Eric
 
May 20, 2008
11,400
99
Syracuse, NY, USA
As I understand it there two ways to use everything for searching.

1. With the Everything service running ... the only purpose of the service is to let a "service client", which maintains the indexes or chosen NTFS drives, run without a UAC prompt. This is the set-up recommended by Voidtools. It also has the advantage of letting unelevated apps (TCC/TCMD, typically) communicate with the "service client" for purposes other than searches (for example, the command EVERYTHING /O). Unfortunately, when the TCMD installer installs and starts the service, it also starts another instance **elevated**. This is OK for searching but not for some other kinds of communication. If you install the service, I'd recommend killing the non-service instance afetr TCMD install and starting a "service client" unelevated. That will not require a UAC prompt (if the service is running). The command for starting the "service client" is
Code:
<path_to>everything.exe -startup
You can stop the "service client" with
Code:
<path_to>everything.exe -quit
I start the "service client" in a logon script and leave it alone thereafter.

2. Without the Everything service running ... then everything.exe must be run elevated. Without the service, you'll get a UAC prompt when trying to start everything.exe. This works for searching but not, as mentioned before, for other types of communication.

As for searching itself, Everything Search is very powerful and the search language is well beyond the scope of TCMD's help. See
http://www.voidtools.com/support/everything/searching/
I have got all the search strings I've tried to work with the EVERYTHING command (though it sometimes requires a bit of struggling with quoting and escaping).
 
Jan 12, 2014
426
7
Switzerland, SO
Unfortunately, when the TCMD installer installs and starts the service, it also starts another instance **elevated**.
Here NOT, I have ONE instance: this for the service and that's it ...

Everything.JPG


Greetings!
 
Last edited:
Jan 12, 2014
426
7
Switzerland, SO
It had been doing that. Maybe Rex changed the behavior. If you have only the service running then I wouldn't expect searches to work.
Yes, that's right. I must start explicit the everything first, for example with "EVERYTHING /E" ...

It's problably because this ...

Everything.JPG


I don't know, if this was the original preference or not.
 
May 20, 2008
11,400
99
Syracuse, NY, USA
I haven't tried that one and I wonder how it works. Does it start before anyone logs on? ... as who? Voidtools says:
Start Everything on system startup

Start Everything when Windows starts. When Everything starts from Windows startup, the tray icon is shown and the database is loaded and updated, no Everything search window is shown.
 
Jan 12, 2014
426
7
Switzerland, SO
I haven't tried that one and I wonder how it works. Does it start before anyone logs on? ... as who?
I have not used this option till now - but I will test it (later today, I hope). However: at least here, the options are in a own directory within "...User\AppData\Roaming\Everything" - probably it starts after login as actual user.
 
Jan 12, 2014
426
7
Switzerland, SO
Okay, I have tested.

Immediately after I ticked this option, the Admin Access is required ...

Everything.JPG


... to create this run key in registry ...

Everything3a.JPG

Everything3b.JPG


Then it starts after login as actual user ...

Everything2.JPG


For me, this is okay and useful in this way.
 
Jun 28, 2008
69
2
Chicago
www.pement.org
Thanks to those who are beginning the discussion. Let me be more direct in what I mean by "real examples."

In Cygwin and GNU/Linux, I can do something like this:

locate --null --regex "^filepattern" | xargs --null command -options

and a set of files will be passed, one at a time, to xargs, which passes them to the "command" to handle, with appropriate options. The --null switch allows the filenames to contain embedded spaces, so that when xargs gets a filename or pathname with embedded spaces, it doesn't split the string at the space characters. If I want, I can do a lot more things with xargs, but I hope you get the idea.

I can see that everything has a /r(egex) option, as well as options to return only /f(iles) or /d(irectories), and that it returns one item per line. However, suppose I wanted to pipe the result set to another command, and in an xarg-ish way I didn't want to worry about having "c:\My Web Sites\Foo Bar\file.png" being split into 4 tokens. I know how to handle this in Cygwin. How would I handle this in Take Command?

What commands are analogous to xargs in Take Command? Thanks in advance.
 
May 20, 2008
11,400
99
Syracuse, NY, USA
It's not a pipe, but it works well.
Code:
DO line in /p everything <opts> "search_spec" ( ... refer to "%line" here in case it has special characters )
 
Similar threads
Thread starter Title Forum Replies Date
Jay Sage Using EVERYTHING Command in TCMD15 Support 5
Jesse Heines Using Regular Expressions with the REN commanc Support 8
R WAD Unusable state when using Chinese characters Support 3
Joe Caverly Using TYPE with non-English text Support 22
L Using TCC.exe through an SSH connection Support 3
Joe Caverly Using @PSHELL from @EVAL Support 8
Jay Sage Command Will Not Run Using Short Name of Path Support 5
Jay Sage Cannot Postion Cursor in Command Line Using Mouse Support 7
MikeBaas Using the debugger Support 2
Joe Caverly Multiple Text Searches at once using FFIND or TPIPE Support 4
Dick Johnson Using the @instr function Support 5
Joe Caverly Using this CMD technique from TCC Support 17
Joe Caverly What version and Windows OS are you using? Support 3
Craig Fitzgerald Problems using tcstart.btm Support 3
R How to? Append files in multiple subfolders using copy? Support 8
M Ctrl-C when using command line history does nothing Support 2
Joe Caverly Using a Directory Alias with @iniwrite fails Support 14
C French accents using msgbox Support 4
C "Failed to update the system registry. Please try using REGEDIT" Support 3
x13 Problem listing repository files using DIR http(s)://... Support 8
R Regex using ^ Support 2
cxxl WAD Mouse movement sluggish when using TCC list Support 3
jfalch WAD internal "which" should check for FILEEXIST when using AppPaths entry Support 8
D How to? Scale font in TCC using wheel mouse or other means Support 2
fpefpe Documentation copy/move using /c or /u Support 2
gschizas Fixed Using codepage 65001 (UTF-8) breaks non-ASCII characters Support 8
D How to? Use typed envars using regex. Support 3
U Installing the Compaq Visual Fortran 6.0 compiler using Take Command Support 8
Alexander WAD The number of files and dirs are multiplied when using multiple wildcards Support 6
T using bottom line for status bar Support 3
A How to? How do you launch TCC/LE using the already-open instance? Support 5
rps Fixed Using last argument variable ! Support 5
M Incorrect ARGV1 when using linux-style paths Support 4
D How to? Using a custom ini file with TCC from Take Command Support 7
thedave WAD Unable to type various characters using Windows 8's onscreen keyboard Support 7
D Documentation Using "send all input to other tabs" Support 11
Joe Caverly Word Count using TPIPE Support 10
Phileosophos Fixed Option Dialog Hangs when Using Help Support 7
MickeyF problem using COM object in VBScript from v16 x64 TCC but not from v15 32-bit TCC Support 4
S How to? How do I distinguish missing source file from download error when using HTTP? Support 6
Charles Dye Odd behavior after using OPTION "Advanced" tab Support 2
T How to? Using FOLDERMONITOR 1 event causes multiple trigger(ing)s Support 8
samintz WAD FILEWRITE using SMOPEN Support 1
ehab aboudaya How to? 2 GUI questions and return HWND using TakeCommandIPC Support 3
R Fixed Using %~dp1 for paths with unavailable drives Support 6
C Using dif. sending addresses with sendmail Support 11
R TC 13 / Using TCDIALOG to exit commands Support 4
epement Video tutorials of using Take Command Support 2
electrotype Error using TCC: "Label not found" Support 6
Phileosophos unzip not using specified path Support 5

Similar threads