Command-line Options

Discussion related to "Everything" 1.5 Alpha.
Post Reply
void
Developer
Posts: 9408
Joined: Fri Oct 16, 2009 11:31 pm

Command-line Options

Post by void » Sat Sep 11, 2021 1:44 am

All command-line options available in Everything 1.5.

Syntax
Installation
Searching
Results
Database
Window
File Lists
ETP
General



Syntax

Everything.exe [filename] [-options]
Everything64.exe [filename] [-options]

Middle dashes (-) in command-line options can be omitted.
For example:
-nonewwindow is the same as -no-new-window

Use double quotes to escape spaces and switches.
For example, set the search to: foo bar
Everything64.exe -s "foo bar"

Use ^ to escape \ & | > < ^
For example, set the search to: foo|bar
Everything64.exe -s foo^|bar

Use """ to escape a literal "
For example, set the search to: "foo bar"
Everything64.exe -s """"foo bar""""
(Remember to also escape spaces with double quotes)

Use -- to disable switch parsing
For example, to set the search to -a-filename-starting-with-a-dash.txt
Everything64.exe -- -a-filename-starting-with-a-dash.txt



filename

Search for the specified file or folder by filename.
This is the same action as dropping a file on an Everything search window.

For control over how the filename is formatted, please see:
hdrop_filelist
hdrop_folder_format
hdrop_folder_append_path_separator
hdrop_file_format
hdrop_shortcut_target



Installation

command-line options for installing Everything.
These command-line options will return immediately and will not show an Everything search window.
Administrative privileges are requested if required.



-app-data
-no-app-data
Store data in %APPDATA%\Everything or in the same location as your Everything.exe.



-choose-volumes
Do not automatically index volumes.
Disables automatically index fixed FAT volumes.
Disables automatically index removable FAT volumes.
Disables automatically remove offline FAT volumes.
Disables automatically index fixed NTFS volumes.
Disables automatically index removable NTFS volumes.
Disables automatically remove offline NTFS volumes.
Disables automatically index fixed ReFS volumes.
Disables automatically index removable ReFS volumes.
Disables automatically remove offline ReFS volumes.
Disables automatically index mapped network drives.
Disables automatically remove offline network drives.

See also -no-auto-include to show a new search window without exiting immediately.
This might be useful for manually specifying which volumes to index when starting a new instance.



-create-usn-journal <volume> <max-size-bytes> <allocation-delta-bytes>
Create the USN journal on the specified volume.
Specify the maximum size and delta size in bytes.
Automatically requests administrative privileges if required.

Recommended values:
Everything.exe -create-usn-journal C: 32768 4096



-delete-usn-journal <volume>
Delete a USN Journal on the specified volume.
Automatically requests administrative privileges if required.

Example:
Everything.exe -delete-usn-journal c:



-enable-run-as-admin
-disable-run-as-admin
Enable or disable run as administrator.



-enable-update-notification
-disable-update-notification
Enable or disable update notification on startup.



-install <path>
Install "Everything" to the specified path.
Copies Everything files to the specified destination and executes any -install-options

See also -install-options



-install-all-users-start-menu-shortcuts
-uninstall-all-users-start-menu-shortcuts
-install-start-menu-shortcuts
-uninstall-start-menu-shortcuts
Add or remove Start menu shortcuts for all users.



-install-all-users-desktop-shortcut
-uninstall-all-users-desktop-shortcut
-install-desktop-shortcut
-uninstall-desktop-shortcut
Add or remove the Desktop shortcut for all users.



-install-all-users-run-on-system-startup
-uninstall-all-users-run-on-system-startup
-install-run-on-system-startup
-uninstall-run-on-system-startup
Start "Everything" on system start for all users.



-install-client-service
-uninstall-client-service
Install or uninstall the "Everything" client as a service.
If installed, the service is automatically started.



-start-client-service
-stop-client-service
Start or stop the Everything client service.



-install-config <filename>
Loads additional settings from the specified ini file.
The specified ini file will override any existing settings and a new Everything.ini is saved to disk.



-install-current-user-start-menu-shortcuts
-uninstall-current-user-start-menu-shortcuts
Add or remove Start menu shortcuts for the current user.



-install-current-user-desktop-shortcut
-uninstall-current-user-desktop-shortcut
Add or remove the Desktop shortcut for the current user.



-install-current-user-run-on-system-startup
-uninstall-current-user-run-on-system-startup
Start "Everything" on system start for the current user.



-install-efu-association
-uninstall-efu-association
Install or uninstall EFU file association.



-install-folder-context-menu
-uninstall-folder-context-menu
Install or uninstall folder context menus.



-install-options <install options>
Pass <install options> to a newly installed "Everything".
Combine with -install.



-install-quick-launch-shortcut
-uninstall-quick-launch-shortcut
Install or uninstall the Quick Launch shortcut.



-install-service
-uninstall-service
Install or uninstall the "Everything" service.
The "Everything" service is automatically started when installed.

See also -install-service-pipe-name
See also -install-service-security-descriptor



-install-service-pipe-name <pipe-name>
Use the specified name for the "Everything" service pipe name.
Combine with -install-service

Example:
Everything64.exe -install-service -install-service-pipe-name "\\.\PIPE\Everything Service"



-install-service-security-descriptor <security-descriptor>
Specify the pipe security descriptor.
Combine with -install-service

Example:
Everything64.exe -install-service -install-service-security-descriptor "D:(A;OICI;GRGW;;;AU)"



-install-service-port
Ignored.
Kept for backwards compatibility.



-install-url-protocol
-uninstall-url-protocol
Install or uninstall URL Protocol.



-install-language <language-id>
Set the language to the specified language ID.

For example, install the language as English (US):
Everything64.exe -install-language 1033



-save-install-options <flags>
Save the specified user install options to registry.

flags can be zero or more of the following values:
0x00000001 = Install update notification.
0x00000002 = Install Quick Launch shortcut.
0x00000004 = Choose volumes.



-service-pipe-name
Set Everything to connect to the Everything Service with the specified pipe name.

Example:
Everything64.exe -service-pipe-name "\\.\PIPE\Everything Service"
(might be useful when using multiple instances and installing only one service)



-service-port
Ignored.



-setup
Run the Everything installer.

See also -setup-location
See also -silent



-setup-location
Specify the default installation path.
Combine with -setup



-silent
Run the Everything installer in silent mode.
Combine with -setup



-start-service
-stop-service
Start or stop the "Everything" service.



-uninstall [path]
Uninstall "Everything" from the specified path.
The path of Everything64.exe is used if the path is not specified.



-uninstall-user
Remove "Everything" user files.



-unsetup
Run the Everything uninstaller.

See also -unsetup-location
See also -silent



-unsetup-location <path>
Specify the default uninstallation path.
Combine with -unsetup



Searching

command-line options to manipulate the search.



-basename <path>
-name-part <path>
Search for the basename (including extension) of the specified path.

See also -stem



-bookmark <name>
Open a bookmark by the specified name.
If there are bookmarks with the same name, the first bookmark found is opened.



-case
-no-case
Enable or disable case matching.



-diacritics
-no-diacritics
Enable or disable diacritics matching.



-explore <path>
Set the folder sidebar selection to the specified path.
The path can point to a file or folder.
The selection will be set to the parent folder if the path specifies a file.



-extension <filename>
Search for files with the same extension from the specified filename.



-filename
Search for a file or folder with the specified filename.



-filter <name>
Select the filter from the specified name.



-toggle-filter <name>
Same as -filter.
Select the filter from the specified name.
If the specified filter is already active the filter is set to the Everything filter.



-home
Open the home search.



-ignore-punctuation
-no-ignore-punctuation
Match or ignore punctuation in filenames.



-ignore-white-space
-no-ignore-white-space
Match or ignore white spaces in filenames.



-l
-local
Load the local database.



-match-path
-no-match-path
Enable or disable full path matching.



-p <path>
-path <path>
Search for the specified path.

Example:
Everything64.exe -path "C:\Program Files"



-path-part <filename>
Search for the path part of the specified filename.



-parent <path>
Search for files and folders in the specified path.



-parent-path
Search for the parent part of a path.



-prefix
-no-prefix
Match the start of words.



-regex
-no-regex
Enable Regular expressions.



-s <search>
-search <search>
Set the search box to the specified search text.
The search text is expanded with the Search Preprocessor.

Example:
Everything64.exe -s "foo bar" (Sets the search to foo bar)
Everything64.exe -s """"foo bar"""" (Sets the search to "foo bar")
Everything64.exe -s foo^|bar (Sets the search to foo|bar)
Everything64.exe -s nopath:#quote:#[basename:"C:\Windows\Notepad.exe"#]: (Sets the search to nopath:"Notepad.exe")



-s* ...
-search* ...
Set the search box to the specified command-line text.
The remaining command-line is treated as literal search text.

The search text is expanded with the Search Preprocessor.

Example:
Everything64.exe -s* foo bar (Sets the search to foo bar)
Everything64.exe -s* "foo bar" (Sets the search to "foo bar")



-search-file-list <filename>
Search for a list of filenames from the specified text/plain file.



-stem <filename>
Search for the stem of the specified filename.



-suffix
-no-suffix
Match the end of words.



-whole-word
-ww
-no-whole-word
-no-ww
Enable or disable match whole word.



-uri <[es:]search>
-url <[es:]search>
Set the search from an ES: URL.



Results

command-line options for manipulating the result list.



-details
Show results in detail view.

See also -thumbnails



-filters-sidebar
-no-filters-sidebar
Show or hide the filters sidebar.



-focus-bottom-result
-focus-last-run-result
-focus-most-run-result
-focus-top-result
Focus the bottom, last-run, most-run or top result.



-focus-results
Focus the result list.



-folders-sidebar
-no-folders-sidebar
Show or hide the folders sidebar.



-folders-sidebar-subfolders
-no-folders-sidebar-subfolders
Search for subfolders.



-preview
-no-preview
Show or hide the preview pane.



-select <filename>
Focus and select the specified result.



-sort <name>
Set the sort to the specified name.

Example:
Everything64.exe -sort Size
Everything64.exe -sort Size -sort-ascending
Everything64.exe -sort "Date Modified"

See also -sort-ascending
See also -sort-descending



-sort-ascending
Sort in ascending order.

See also -sort



-sort-descending
Sort in descending order.

See also -sort



-thumbnails
Show results in thumbnail view.

See also -thumbnails-size
See also -details



-thumbnail-size <size>
Set the thumbnail size to the specified number of pixels.

See also -thumbnails



Database

command-line options for manipulating the database.



-db <filename>
Load and save the database to the specified filename.

See also -read-only



-load-delay <milliseconds>
The delay in milliseconds before loading the database.



-monitor-pause
-monitor-resume
Pause or resume updating the indexes.
While paused, Everything will continue to watch for changes to volumes.
Indexes are updated when you exit Everything.



-monitor-start
-monitor-stop
Start or stop watching for changes to indexes.
Changes to some indexes will be missed when stopped.



-no-auto-include
Do not automatically include volumes.
Note: Press Ctrl + Break to abort the current index. (might be useful for manually setting which volumes to index)



-no-db
Do not save to or load from the "Everything" database file.



-read-only
Loads the database in read-only mode.

See also -db



-reindex
Force a database rebuild.



-rescan <path>
Rescan the FAT, network drive or folder index from the specified path.



-rescan-all
Rescan all FAT, network drive or folder indexes.



-update
-save-db
Request Everything save settings and the database to disk.
The request will occur when Everything is ready.
Combine with -wait to wait for settings and the database to be saved to disk before returning.



Window

command-line options for manipulating the search window.



-close
Close the current search window.



-close-all
Close all search windows.



-fullscreen
-no-fullscreen
Show the search window fullscreen or as a normal window.



-invert-layout
-no-invert-layout
Invert reading order.



-maximize
-maximized
-no-maximize
-no-maximized
Maximize or restore the search window.



-minimize
-minimized
-no-minimize
-no-minimized
-unminimize
Minimize or restore the search window.



-minimize-all
-unminimize-all
Minimize or unminimize all search windows.



-new-window
-no-new-window
-n
Create a new search window or reuse an existing window.



-ontop
-no-ontop
Enable or disable always ontop.



-toggle-window
Hides the current foreground search window or shows the search window.



-x <x>
-y <y>
-width <width>
-height <height>
Set the window position and size in screen coordinates.



File Lists

command-line options for manipulating filelists.



-create-file-list <filename> <path>
Create a file list of a path on disk.



-create-file-list-exclude-files <list>
Exclude the semicolon delimited wildcard filter for files.



-create-file-list-exclude-folders <list>
Exclude the semicolon delimited wildcard filter for folders.



-create-file-list-include-only-files <list>
Include only the semicolon delimited wildcard filter for files.



-edit <filename>
Open a file list with the file list editor.



-filelist <filename>
-f <filename>
Open a file list from the specified filename.



-filelist-editor
Show the file list editor.



ETP

command-line options for connecting to an ETP server.



-admin-server-share-links
Use \\Server\C$ links for ETP connections.



-connect <[username[:password]@]host[:port]>
Connect to an ETP server with the specified username and password (optional), host and port (optional).

Example:
Everything64.exe -connect abc:123@server:2121



-drive-links
Use C: links for ETP connections.



-ftp-links
Use ftp://host/C: links for ETP connections.



-server-share-links
Use \\Server\C: links for ETP connections.



-link-type <type>
Specify the link type when using an ETP connection.

The type can be one of the following values:
0 = C:
1 = \\server\c
2 = \\server\c$
3 = ftp://server/c



General

General command-line options for Everything.



-?
-h
-help
Show this help.



-add-config <filename>
Load a configuration file from the specified filename.
Restarting "Everything" may be required to apply some settings.



-admin
Run "Everything" as an administrator.



-is-run-as
Prevent relaunching with the runas verb when administrative privileges are required.



-client-svc
"Everything" client service entry.



-config <filename>
The filename of the ini file.



-define <name=value>
Define a preprocessor variable.



-rename <filename1> <filename2> <filename3> <...>
-copy-to <filename1> <filename2> <filename3> <...>
-move-to <filename1> <filename2> <filename3> <...>
Show the multi-file renamer with the specified filenames.
The remaining command-line is treated as a list of filenames.
Wildcards (* and ?) are supported.

If there is already a running multi-file renamer, filenames are sent to the existing instance.
Otherwise, a new multi-file renamer instance is created.

See also -instance



-rename-list <filename>
-copy-to-list <filename>
-move-to-list <filename>
Show the multi-file renamer with a list of files in a text/plain file from the specified filename.

See also -instance


-debug
-console
Show the debugging console.



-debug-log
Log debugging information to disk.



-verbose
-no-verbose
Display all debug messages or basic debug messages only.



-exit
-quit
Exit "Everything".

See also -wait



-wait
Wait for the existing Everything process to exit before returning.
Combine with -exit.



-first-instance
Only run if this is the first instance of "Everything".

If Everything is already running this call will be ignored.



-no-first-instance
Only run Everything if Everything is already running.

If Everything is not running this call will be ignored.


-instance <name>
The name of the "Everything" instance.

See also Multiple Instances



-path-instance
Use the Everything.exe location as the instance name.



-version-instance
Run "Everything" in a unique instance for each version.



-restart
Restart Everything.



-safe-mode
Start "Everything" with plugins disabled.



-startup
Do not show any Everything search windows.
Run Everything in the background.



-svc
"Everything" Service entry.

See also -svc-pipe-name
See also -svc-security-descriptor



-svc-pipe-name <pipe-name>
Create the "Everything" service pipe with the specified name.
Combine with -svc



-svc-security-descriptor <security-descriptor>
Create the "Everything" service pipe with the specified security descriptor.
Combine with -svc



-svc-port
Ignored.



-choose-language
Show the language selection page.



-language <language-id>
Set the language to the specified language ID.
Does not return immediately like -install-language.

Post Reply