1、After launching Everything,it indexs anything , it would be spend much times。I only want to index c:\test and c:\test1, how to do in command line?
2、how to know when indexing is done? need to poll Everything_IsDBLoaded?if I want to use in cmd,Can it achieve it?
Everything index some path?
Re: Everything index some path?
1). You would need to setup a custom Everything.ini
2). Poll Everything_IsDBLoaded to determine when indexing is complete.
See ES source code for an example with -timeout command line option.
You could use ES too, eg:
es.exe -timeout 60000 -get-result-count
(this will block for up to 1 minute and return when the index is ready)
Index This
- In Everything, from the Tools menu, click Options.
- Click the NTFS tab on the left.
- Uncheck Automatically include new fixed volumes.
- Uncheck Automatically include new removable volumes.
- For each NTFS volume:
- Uncheck Include in database.
- Select C:
- Check Include in database.
- Change Include only to: C:\test;c:\test1
- Click the ReFS tab on the left.
- Uncheck Automatically include new fixed volumes.
- Uncheck Automatically include new removable volumes.
2). Poll Everything_IsDBLoaded to determine when indexing is complete.
See ES source code for an example with -timeout command line option.
You could use ES too, eg:
es.exe -timeout 60000 -get-result-count
(this will block for up to 1 minute and return when the index is ready)
Index This
Re: Everything index some path?
1、I want use %homepath% variables in the path,how to do?echo ntfs_volume_include_only=c%homepath%\test 》everything.ini?
2、I don't understand timeout 6000?It mean es.exe waiting for 1 minute,then run next command?if indexing can't complete in 1 minute,it will get error result?
2、I don't understand timeout 6000?It mean es.exe waiting for 1 minute,then run next command?if indexing can't complete in 1 minute,it will get error result?
Re: Everything index some path?
1) Please try the following commands:
echo ntfs_volume_guids=>> Everything.ini
echo ntfs_volume_paths=C:>> Everything.ini
echo ntfs_volume_include_onlys=C:%HOMEPATH%\test>> Everything.ini
2) ES -timeout will block (wait) for Everything to load/create the index before returning.
So you may wish to do something like the following:
es.exe -timeout 60000 -get-result-count
--This call will not return until Everything has loaded or created the index.--
--The next call will commence as soon as the above call returns--
myEverythingProgram.exe
2B) if indexing can't complete in 1 minute,it will get error result?
Yes, ES.exe will set the errorlevel.
Check to see if the wait was successful (0), or timed-out (8)
echo ntfs_volume_guids=>> Everything.ini
echo ntfs_volume_paths=C:>> Everything.ini
echo ntfs_volume_include_onlys=C:%HOMEPATH%\test>> Everything.ini
2) ES -timeout will block (wait) for Everything to load/create the index before returning.
So you may wish to do something like the following:
es.exe -timeout 60000 -get-result-count
--This call will not return until Everything has loaded or created the index.--
--The next call will commence as soon as the above call returns--
myEverythingProgram.exe
2B) if indexing can't complete in 1 minute,it will get error result?
Yes, ES.exe will set the errorlevel.
Check to see if the wait was successful (0), or timed-out (8)
Re: Everything index some path?
I want to index two folder
echo ntfs_volume_guids=>> Everything.ini
echo ntfs_volume_paths=C:>> Everything.ini
echo ntfs_volume_include_onlys=C:%HOMEPATH%\test;C:%HOMEPATH%\test1>> Everything.ini
it show error,
echo
ntfs_volume_include_onlys="C:%HOMEPATH%\\test;C:%HOMEPATH%\\test1”>> Everything.ini
also error, it seem divide %HOMEPATH% by \\
What should I do?
echo ntfs_volume_guids=>> Everything.ini
echo ntfs_volume_paths=C:>> Everything.ini
echo ntfs_volume_include_onlys=C:%HOMEPATH%\test;C:%HOMEPATH%\test1>> Everything.ini
it show error,
echo
ntfs_volume_include_onlys="C:%HOMEPATH%\\test;C:%HOMEPATH%\\test1”>> Everything.ini
also error, it seem divide %HOMEPATH% by \\
What should I do?
Re: Everything index some path?
Please try the following:
echo ntfs_volume_include_onlys=C:%HOMEPATH%\test";"C:%HOMEPATH%\test1>> Everything.ini
echo ntfs_volume_include_onlys=C:%HOMEPATH%\test";"C:%HOMEPATH%\test1>> Everything.ini