I've downloaded Everything v1.4.1.935 (x64) and installed it as a service, from a regular user (non administrative) account on a Windows 10 Pro machine.
I've also downloaded its command line interface ES v1.1.0.10, and unzipped it at C:\test
If I launch an elevated (run as Administrator) command line window (cmd.exe), and then I type the following:
Code: Select all
C:\test\es.exe -export-csv C:\test\txt.csv *.txt
However, if I run the task scheduler as Administrator and create a scheduled task where I define an action to run the very same command I previously mentioned, then ES creates a CSV file which only contains the header (one line that says Filename).
If I create a batch file with that command, and run that BAT as an action of my scheduled task, I only get the Filename header again.
Finally, if I create a batch file with this command:
Code: Select all
C:\test\es.exe *.txt > C:\test\txt.csv
Code: Select all
Everything IPC window not found, IPC unavailable.
Code: Select all
ipc=1
The results don't change despite I've tried to modify all the setting of the scheduled task: checking and unchecking the "Run with highest privileges" checkbox, checking and unchecking the "Hidden" checkbox, etc.
I've found that if I launch Everything from the batch file then ES works perfectly, but this leaves Everything.exe running, and the task never gets finished on the scheduler.
Could someone please tell me what is the proper way to run ES from a scheduled task?
Thank you.