Search queries in TC using 'Everything'

English support forum

Moderators: Hacker, petermad, Stefan2, white

KozakMak
Senior Member
Senior Member
Posts: 380
Joined: 2021-05-24, 12:39 UTC
Location: UA

Re: Search queries in TC using 'Everything'

Post by *KozakMak »

i want to open Everything from cmd with following params:
folder: %temp%
dm:last30days

Is it posible?
OS: Win10 | TC: latest x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48238
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Search queries in TC using 'Everything'

Post by *ghisler(Author) »

Why not search directly in Total Commander for that?
Search for: ed:dm:last30days
Search in: %temp%
Author of Total Commander
https://www.ghisler.com
User avatar
tuska
Power Member
Power Member
Posts: 3792
Joined: 2007-05-21, 12:17 UTC

Re: Search queries in TC using 'Everything'

Post by *tuska »

KozakMak wrote: 2024-04-01, 09:15 UTC i want to open Everything from cmd with following params:
folder: %temp%
dm:last30days

Is it possible?
Yes.

Example
ES-1.1.0.29.x64.zip
C:\Everything\Everything_1.5ax64\es.exe

C:\Everything\Everything_1.5ax64\es.ini ...

Code: Select all

[ES]
instance=1.5a
cd C:\Everything\Everything_1.5ax64\ <ENTER> in command line of TC
... change to the directory in which the es.exe and es.ini are located.

Button in TC ("NT Prompt") with
Command: %SystemRoot%\system32\cmd.exe
Parameter: /k cd /d %P

ES.exe folder: "%temp%\" dm:last30days ... <enter>
or
ES.exe folder: C:\Users\user\AppData\Local\Temp\ dm:last30days ... <enter>

Option (for control purposes only):
Search query directly in Everything 1.5.0.1371a (x64)
folder: "%temp%\" dm:last30days
- OR -
folder: C:\Users\user\AppData\Local\Temp\ dm:last30days


Windows 11 Pro (x64) Version 23H2 (OS Build 22631.3374) | TC 11.03 x64
'Everything' 1.5.0.1371a (x64) | Command Line Tool: Info and examples
KozakMak
Senior Member
Senior Member
Posts: 380
Joined: 2021-05-24, 12:39 UTC
Location: UA

Re: Search queries in TC using 'Everything'

Post by *KozakMak »

https://ibb.co/bXJCQSz

why Everything.exe (v1.4.1) can't find anything in %temp% ?
OS: Win10 | TC: latest x64
User avatar
petermad
Power Member
Power Member
Posts: 14915
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Search queries in TC using 'Everything'

Post by *petermad »

2KozakMak
I can confirm that 'Everything' 1.4.1.1024 cannot handle environment variable paths - Version 1.5.0.1371a can though
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
NotNull
Senior Member
Senior Member
Posts: 276
Joined: 2019-11-25, 20:43 UTC
Location: NL

Re: Search queries in TC using 'Everything'

Post by *NotNull »

KozakMak wrote: 2024-04-01, 09:15 UTC i want to open Everything from cmd with following params:
folder: %temp%
dm:last30days

Code: Select all

"c:\path to\everything.exe" -path "%temp%" -search dm:last30days
Although I doubt if this is what you are after as it has nothing to do with Total Commander?

petermad wrote: 2024-04-02, 14:34 UTC I can confirm that 'Everything' 1.4.1.1024 cannot handle environment variable paths
Even with Expand environment variables enabled in Everything (1.4)?
( under Menu => Tools => Options => Search )
KozakMak
Senior Member
Senior Member
Posts: 380
Joined: 2021-05-24, 12:39 UTC
Location: UA

Re: Search queries in TC using 'Everything'

Post by *KozakMak »

NotNull wrote: 2024-04-02, 17:44 UTC Even with Expand environment variables enabled in Everything (1.4)?
( under Menu => Tools => Options => Search )
thx! this works!


can 'Everything' find files older than x days :?:
OS: Win10 | TC: latest x64
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6535
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Search queries in TC using 'Everything'

Post by *Horst.Epp »

KozakMak wrote: 2024-04-03, 06:38 UTC can 'Everything' find files older than x days :?:
Everything 1.5 syntax
dm:<31days

or in TC search
ev:dm:<31days
ed:dm:<31days
Windows 11 Home x64 Version 23H2 (OS Build 22631.3737)
TC 11.03 x64 / x86
Everything 1.5.0.1383a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
KozakMak
Senior Member
Senior Member
Posts: 380
Joined: 2021-05-24, 12:39 UTC
Location: UA

Re: Search queries in TC using 'Everything'

Post by *KozakMak »

Horst.Epp wrote: 2024-04-03, 07:24 UTC Everything 1.5 syntax
dm:<31days
ok, thx
Horst.Epp wrote: 2024-04-03, 07:24 UTC or in TC search
ev:dm:<31days
ed:dm:<31days

Code: Select all

---------------------------
Everything
---------------------------
'Everything' is a search tool and search index for the NTFS file system.

'Everything' isn't installed! Do you want to download it now?
---------------------------
Yes   No   
---------------------------
Everything.exe in totalcmd root folder
OS: Win10 | TC: latest x64
User avatar
tuska
Power Member
Power Member
Posts: 3792
Joined: 2007-05-21, 12:17 UTC

Re: Search queries in TC using 'Everything'

Post by *tuska »

Last edited by tuska on 2024-04-03, 12:01 UTC, edited 2 times in total.
NotNull
Senior Member
Senior Member
Posts: 276
Joined: 2019-11-25, 20:43 UTC
Location: NL

Re: Search queries in TC using 'Everything'

Post by *NotNull »

KozakMak wrote: 2024-04-03, 06:38 UTC can 'Everything' find files older than x days :?:
Next to the solutions already mentioned by @Horst.Epp:

Code: Select all

!dm:last30days 
! = NOT in Everything-lingo

Subtitled: Show all files minus the ones that were modified in the last 30 days
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6535
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Search queries in TC using 'Everything'

Post by *Horst.Epp »

KozakMak wrote: 2024-04-03, 08:27 UTC 'Everything' isn't installed! Do you want to download it now?
Everything.exe in totalcmd root folder
You should have installed the Everything service
and enabled the General Option "Start Everything on system startup"

If you have Everything 1.5 you should add the following in your Everything ini file
alpha_instance=0

Btw. it doesn't make sense to install Everything in the TC root folder.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3737)
TC 11.03 x64 / x86
Everything 1.5.0.1383a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
KozakMak
Senior Member
Senior Member
Posts: 380
Joined: 2021-05-24, 12:39 UTC
Location: UA

Re: Search queries in TC using 'Everything'

Post by *KozakMak »

Horst.Epp wrote: 2024-04-03, 09:38 UTC alpha_instance=0
ok, this works
OS: Win10 | TC: latest x64
User avatar
petermad
Power Member
Power Member
Posts: 14915
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Search queries in TC using 'Everything'

Post by *petermad »

Even with Expand environment variables enabled in Everything (1.4)?
( under Menu => Tools => Options => Search )
Thanks, I overlooked that setting - In version 1.5.0 the setting is not there anymore - it is just enabled by default.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
NotNull
Senior Member
Senior Member
Posts: 276
Joined: 2019-11-25, 20:43 UTC
Location: NL

Re: Search queries in TC using 'Everything'

Post by *NotNull »

petermad wrote: 2024-04-03, 14:13 UTC In version 1.5.0 the setting is not there anymore - it is just enabled by default.
Much better in my opinion :) It was just a sub-optimal default in 1.4.
If you ever run into foldernames like "%APPDATA%"(literally; I know an application that does this ..), use %"APPDATA"% syntax.


FWIW: The Expand environment variables setting is still available in 1.5. , just very well hidden (for backwards compatibility).
Post Reply