I have Everything running as a service on system startup.
I want to Force Rebuild the indexes in a .cmd script.
In the script I am using START command as given below.
START "C:\Program Files\Everything\Everything.exe -reindex"
This opens a system32 window and I have to issue EXIT command to close the window.
It doesn't reindex the database.
How to make Everthing in a .cmd script, to Force Rebuild the indexes in background, without opening the system window.
Thanks in advance.
Karbi
Reindexing the database in .cmd script
-
Karbi
- Posts: 2
- Joined: Sat Nov 30, 2024 8:09 am
Reindexing the database in .cmd script
You do not have the required permissions to view the files attached to this post.
-
NotNull
- Posts: 5961
- Joined: Wed May 24, 2017 9:22 pm
Re: Reindexing the database in .cmd script
It's the quotes ..
Try the following instead:
The first "" is the title of the "CMD window". If not added, "C:\Program Files\Everything\Everything.exe" will be seen as the title.
Try the following instead:
Code: Select all
START "" "C:\Program Files\Everything\Everything.exe" -reindex
-
Karbi
- Posts: 2
- Joined: Sat Nov 30, 2024 8:09 am
Re: Reindexing the database in .cmd script
It works now.
Thanks a bunch, NotNull.
Thanks a bunch, NotNull.
-
therube
- Posts: 5727
- Joined: Thu Sep 03, 2009 6:48 pm