Skip to content
Back to top

# Command Line Options

UltraSearch supports command line parameters, which allows the start of UltraSearch with defined search parameters. Multiple search parameters are separated by spaces.

The search syntax can be used.

Search parameters (paths or file names) that already contain spaces must be enclosed in quotation marks (“).

The general syntax for command line parameters is as follows:

    UltraSearch.exe Search path(s) Search term

## Examples:

    ultrasearch.exe "C:\Windows" "readme.txt"
| Starts UltraSearch with the search in ‘C:Windows’ for all files whose name contains ‘readme.txt’.
    ultrasearch.exe "C:\Windows" "readme OR license"
| Starts UltraSearch with the search in ‘C:Windows’ for all files whose name contains ‘readme’ or ‘license’.
    ultrasearch.exe "C:\Windows" "ext:txt"
| Launches UltraSearch with the search in ‘C:Windows’ for all files with the file extension “.txt”.
    ultrasearch.exe "C:\Windows" "C:\Program Files"
        "readme AND cont:license"
| Launches UltraSearch with the search in ‘C:Windows’ and ‘C:Program Files’ for files whose name contains ‘readme’ and whose file content contains the word ‘license’.
    ultrasearch.exe "C:\Windows" "*.exe" /CLIPBOARD
    ultrasearch.exe "C:\Windows" "*.exe" /CLIPBOARD /NOGUI
| Starts UltraSearch and searches in “C:Windows” for executable files with the file extension ‘.exe’ and copies the results to the Windows clipboard. If you want UltraSearch to terminate afterwards, add the parameter /CLOSE. With the additional parameter /NOGUI, the operation is executed in the background without a user interface. When the operation is finished, a message is displayed in the notification area of the Windows taskbar. Note Messages and errors cannot be displayed when using the command line switch /NOGUI. In this case, all messages are listed in the systems Windows event log.
    ultrasearch.exe /minimized
| Starts UltraSearch minimized in the task bar of Windows.
    ultrasearch.exe /maximized
| Starts UltraSearch as a maximized window.
    ultrasearch.exe /tray
| Launches UltraSearch minimized in the notification area of Windows.
    ultrasearch.exe /noadmin
| Launches UltraSearch without administrator privileges.
    ultrasearch.exe /multi_instance
| Allows starting several parallel program instances. Note In order to generally allow parallel instances, the value “MultipleInstances” can alternatively be set to “true” in the “Settings.xml” file in the “%appdata%JAM SoftwareUltraSearch” directory.