I'm using a button in TC with the following command line:
C:\Tools\Everything\Everything64.exe -s nopath:exact:#quote:#[basename:"%S1"#]:
This button is easy in Total Commander, the %S1 is replaced by the current file name in its file list.
Everything returns in its GUI all places where the exact file name is found.
The Everything syntax is using its preprocessor and therefore rather cryptic.
A nightmare to make the following run in a button
-
Horst
- Posts: 1419
- Joined: 24 Jan 2021 12:27
- Location: Germany
A nightmare to make the following run in a button
Windows 11 Home, Version 26H2 (OS Build 26300.10075)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1425b (x64), Everything Toolbar 3.5, Listary Pro 7.1.0.47 beta
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1425b (x64), Everything Toolbar 3.5, Listary Pro 7.1.0.47 beta
-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: A nightmare to make the following run in a button
Show a screenshot of Everything with search results and the search bar fully visible
One of my scripts helped you out? Please donate via Paypal
-
Horst
- Posts: 1419
- Joined: 24 Jan 2021 12:27
- Location: Germany
Re: A nightmare to make the following run in a button
Thats the GUI result
To see the attached files, you need to log into the forum.
Windows 11 Home, Version 26H2 (OS Build 26300.10075)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1425b (x64), Everything Toolbar 3.5, Listary Pro 7.1.0.47 beta
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1425b (x64), Everything Toolbar 3.5, Listary Pro 7.1.0.47 beta
-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: A nightmare to make the following run in a button
Something like that?
Code: Select all
run """C:\Tools\Everything\Everything64.exe"" -s nopath:exact:#quote:#[basename:""<curitem>""";
One of my scripts helped you out? Please donate via Paypal
-
Horst
- Posts: 1419
- Joined: 24 Jan 2021 12:27
- Location: Germany
Re: A nightmare to make the following run in a button
Yes that works
I have added the missing #]: at the end in your version
I tried something similar but there where always "Dubious syntax" errors.
I deleted that button so I can't say what the problem was.
But you solved it, thanks for the help
I have added the missing #]: at the end in your version
I tried something similar but there where always "Dubious syntax" errors.
I deleted that button so I can't say what the problem was.
But you solved it, thanks for the help
Windows 11 Home, Version 26H2 (OS Build 26300.10075)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1425b (x64), Everything Toolbar 3.5, Listary Pro 7.1.0.47 beta
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1425b (x64), Everything Toolbar 3.5, Listary Pro 7.1.0.47 beta
-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: A nightmare to make the following run in a button
You should post the final command for all others that may be interested...
One of my scripts helped you out? Please donate via Paypal
-
Horst
- Posts: 1419
- Joined: 24 Jan 2021 12:27
- Location: Germany
Re: A nightmare to make the following run in a button
Thats the final command.
Its yours with the missing part on the end.
run """C:\Tools\Everything\Everything64.exe"" -s nopath:exact:#quote:#[basename:""<curitem>""#]:";
Its yours with the missing part on the end.
run """C:\Tools\Everything\Everything64.exe"" -s nopath:exact:#quote:#[basename:""<curitem>""#]:";
Windows 11 Home, Version 26H2 (OS Build 26300.10075)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1425b (x64), Everything Toolbar 3.5, Listary Pro 7.1.0.47 beta
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1425b (x64), Everything Toolbar 3.5, Listary Pro 7.1.0.47 beta
-
admin
- Site Admin
- Posts: 67311
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: A nightmare to make the following run in a button
Don't forget the lax() function:
Code: Select all
echo lax("C:\Tools\Everything\Everything64.exe" -s nopath:exact:#quote:#[basename:"<curitem>"#]:);FAQ | XY News RSS | XY X
-
Horst
- Posts: 1419
- Joined: 24 Jan 2021 12:27
- Location: Germany
Re: A nightmare to make the following run in a button
I like that lax function, its so much easier to make buttons
Thanks for the tip.
Thanks for the tip.
Windows 11 Home, Version 26H2 (OS Build 26300.10075)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1425b (x64), Everything Toolbar 3.5, Listary Pro 7.1.0.47 beta
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1425b (x64), Everything Toolbar 3.5, Listary Pro 7.1.0.47 beta
XYplorer Beta Club