I do not know where to ask my favor from someone, but sorry if this is not the correct place in the forum!
I have been using this wonderful tool for a couple of months now and like it much.
Furthermore, I have terabytes of data that I need to search sometimes to see if a certain file exists and where it is.
Using the program is OK, but I would prefer a batch file, that would input the file name from the keyboard and start everything.
So I would start the batch, and it would wait for my file name (or file name and extension) and then start.
The program would show the results, but the batch file would remain active, and I could then, without starting the batch file, insert a new file name and enter..... and so forth.
If I want to stop with the batch, just entering say a keyboard return without a file name it the batch would expire and stop.
I have tried to create such a batch file (for Windows 10) but cannot do it. Maybe too old and I forget too much nowadays. Used to be able to do it.
Can someone help me out?
Earl in The Netherlands
Need help to make life easier using this great program!
Re: Need help to make life easier using this great program!
EFind.bat:
Download Everything Command-line Interface, ES-1.1.0.26.zip
(Everything.exe needs to be running for ES.exe to work.)
Code: Select all
@echo off
set people=
set /p PEOPLE="File to find: "
if [%people%]==[] exit
ES.exe %people%
EFind.bat
exit
(Everything.exe needs to be running for ES.exe to work.)
Re: Need help to make life easier using this great program!
May I suggest
This way it works whatever the name of the script is.
Code: Select all
@echo off
set people=
set /p PEOPLE="File to find: "
if [%people%]==[] exit
ES.exe %people%
%~dpnx0
exit
Re: Need help to make life easier using this great program!
Hey therube thanks much, great that you will hep
Thanks too to horst.epp!
Nice to see that you both understand the problem, well not exactly a problem.
OK, I only have a couple of questions...
1.
ES.exe
If everything is running, is that the running name from everything or do I have to replace the ES.exe with the path to everything?
I mean, I have everything.exe running, is then ES.exe a shortcut to the program?
2.
Is EFind.bat another file, or you mean that is this file name from this batch?
I tried the batch, but it did not run, thinking the program path or so.
Maybe by you, it worked, but my system is maybe not the same.
In any case, thanks for helping.
Earl
Thanks too to horst.epp!
Nice to see that you both understand the problem, well not exactly a problem.
OK, I only have a couple of questions...
1.
ES.exe
If everything is running, is that the running name from everything or do I have to replace the ES.exe with the path to everything?
I mean, I have everything.exe running, is then ES.exe a shortcut to the program?
2.
Is EFind.bat another file, or you mean that is this file name from this batch?
I tried the batch, but it did not run, thinking the program path or so.
Maybe by you, it worked, but my system is maybe not the same.
In any case, thanks for helping.
Earl
Re: Need help to make life easier using this great program!
ES.exe is a separate command-line program you need to download (here).
You can put it in the same folder where the script is.
In the background, ES talks to Everything to get the results, so Everything must be running when you run this script.
FWIW, my attempt for the script (3 is better than 1 )
When there are more than page full of results, you can scroll through them using cursor keys or PageUp/PageDown. Press ESC when ready for the next search.
ZoekBestanden.cmd
You can put it in the same folder where the script is.
In the background, ES talks to Everything to get the results, so Everything must be running when you run this script.
FWIW, my attempt for the script (3 is better than 1 )
When there are more than page full of results, you can scroll through them using cursor keys or PageUp/PageDown. Press ESC when ready for the next search.
ZoekBestanden.cmd
Code: Select all
@echo off & setlocal
cls.
echo.
echo. Voer (gedeeltelijke) bestandsnaam in
echo. Of toets ENTER om af te sluiten.
:LOOP
echo.
echo.
set /p NEWNAME=Volgende naam :
if [%NEWNAME%]==[] goto :EXIT
ES.exe -pause "%NEWNAME%"
set "NEWNAME="
goto :LOOP
:EXIT
Re: Need help to make life easier using this great program!
You have to download es.exe and put it into the Dir where Everything.exe or Everythingx64.exe file is located.Earl wrote: ↑Wed Jul 05, 2023 4:03 pm Hey therube thanks much, great that you will hep
Thanks too to horst.epp!
Nice to see that you both understand the problem, well not exactly a problem.
OK, I only have a couple of questions...
1.
ES.exe
If everything is running, is that the running name from everything or do I have to replace the ES.exe with the path to everything?
I mean, I have everything.exe running, is then ES.exe a shortcut to the program?
2.
Is EFind.bat another file, or you mean that is this file name from this batch?
I tried the batch, but it did not run, thinking the program path or so.
Maybe by you, it worked, but my system is maybe not the same.
In any case, thanks for helping.
Earl
EFind.bat should be stored into the same path.
The content is of course from our code examples above.
You can start EFind.bat from a link on your Desktop or any other place.