# Select

The **Select** internal command is used to:

* Display the _Select_ dialog (in either [simple](../../../basic_concepts/selecting_files/simple_wildcard_selection) or [advanced](../../../basic_concepts/selecting_files/advanced_selection) modes)
* Select all, deselect all, and invert the current selection of all files and folders
* Select or deselect files by filename with a wildcard pattern
* Select all files in the source that are selected in the destination, and vice versa
* Select all files with extensions matching those already selected
* Convert [checkmarks](../../../basic_concepts/selecting_files/selecting_with_the_mouse_and_keyboard/checkbox_mode) into selection and vice versa
* Hide files based on whether they are selected or not
* Select a range of files by index
* Select files by date and size

**Command Arguments:**

| Argument           | Type | Possible values            | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ------------------ | ---- | -------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| _(no arguments)_   | -    | -                          | <p>Displays the <em>Select</em> dialog (in either <a href="../../../basic_concepts/selecting_files/simple_wildcard_selection">simple</a> or <a href="../../../basic_concepts/selecting_files/advanced_selection">advanced</a> modes, depending on which was last used).</p><p><em>Example:</em> <code>Select</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ADVANCED           | /O   | _(no value)_               | <p>Displays the <em>Select</em> dialog in <a href="../../../basic_concepts/selecting_files/advanced_selection">advanced</a> mode.</p><p><em>Example:</em> <code>Select ADVANCED</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
|                    |      | _\<filter name>_           | <p>Displays the <em>Select</em> dialog in advanced mode, with the specified saved filter already loaded.</p><p><em>Example:</em> <code>Select ADVANCED=MyFilter</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| ALL                | /S   | _(no value)_               | <p>Select all files and folders in the current source file display.</p><p><em>Example:</em> <code>Select ALL</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ALLDIRS            | /S   | _(no value)_               | <p>Select all folders in the current source file display.</p><p><em>Example:</em> <code>Select ALLDIRS</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ALLFILES           | /S   | _(no value)_               | <p>Select all files in the current source file display.</p><p><em>Example:</em> <code>Select ALLFILES</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| DATE               | /K   | _\<date>_                  | <p>Select files whose last modification timestamps match the specified date. You can specify:</p><ul><li>Just a date, in the format <em>YYYY-MM-DD</em></li><li>Just a time, in the format <em>HH:MM</em> (seconds are ignored)</li><li>Both a date and time, in the format <em>YYYY-MM-DD HH:MM</em> Note that specifying both a date and time requires quotes around the value, because of the space character separating the two.</li></ul><p>You can also use <strong>></strong> (greater than) before the date to match all files newer than the specified date, or <strong>&#x3C;</strong> (less than) before the date to match all files older than the specified date.</p><p>You can also specify an <em>age</em> rather than a <em>date</em> to test for. For example, to select all files older than 5 days, you might specify <code>Select DATE ">5 days"</code>. Valid keywords for age selection are <strong>day</strong>, <strong>week</strong>, <strong>month</strong>, <strong>year</strong>, <strong>hour</strong>, <strong>minute</strong>, <strong>second</strong>.</p><p><em>Example:</em> <code>Select *.jpg DATE "\>2012-06-15 10:00"</code></p> |
|                    |      | _\<date1>_**..**_\<date2>_ | <p>Select files whose last modification timestamps falls between the two specified dates. Both dates are supplied in the format described above.</p><p><em>Example:</em> <code>Select DATE 2012-01-01..2012-12-31 TYPE=files</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
|                    |      | **oldest**                 | <p>Select the oldest item in the current source file display. You can combine this with the <strong>PATTERN</strong> argument to select the oldest of a specific type of file.</p><p><em>Example:</em> <code>Select *.doc DATE=oldest</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
|                    |      | **newest**                 | <p>Select the newest item in the current file display.</p><p><em>Example:</em> <code>Select DATE=newest DESELECTNOMATCH</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
|                    |      | **created**                | <p>Normally this command considers the last modification timestamp of each file, however by specifying this keyword you can make it look at the creation time instead.</p><p><em>Example:</em> <code>Select *.(zip|7z|rar) DATE=created,2010-03-10..2010-03-17</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
|                    |      | **both**                   | <p>Considers both created and last modification timestamps.</p><p><em>Example:</em> <code>Select DATE=both,newest</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
|                    |      | **next**                   | <p>Modifies the behavior of the <strong>newest</strong> and <strong>oldest</strong> arguments. Normally, <code>Select DATE=newest</code> would select the newest file in the list. If it were already selected, nothing would change. If you add the <strong>next</strong> keyword, Opus will progressively select the next newest file each time the command is run.</p><p><em>Example:</em> <code>Select DATE=next,newest</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| DESELECT           | /S   | _(no value)_               | <p>Instead of selecting files, the command will deselect them. This is used in conjunction with the <strong>PATTERN</strong>, <strong>ALLDIRS</strong> and <strong>ALLFILES</strong> arguments.</p><p><em>Example:</em> <code>Select *.jpg DESELECT</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| DESELECTNOMATCH    | /S   | _(no value)_               | <p>Files that don't match the pattern will be deselected (normally files that don't match are left alone). This also works when using the <strong>FILTER</strong> argument to select files with a predefined filter.</p><p><em>Example:</em> <code>Select *.doc DESELECTNOMATCH</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| DESELECTOTHERTYPE  | /S   | _(no value)_               | <p>When used with the <strong>TYPE</strong> argument to restrict a selection to either files or folders (or with the <strong>ALLFILES</strong> and <strong>ALLDIRS</strong> arguments), <strong>DESELECTOTHERTYPE</strong> causes all items of the other type to be deselected</p><p><em>Example:</em> <code>Select * TYPE=files DESELECTOTHERTYPE</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| DESTTOSOURCE       | /O   | _(no value)_               | <p>Selects all files and folders in the source file display that are currently selected in the destination. The comparison is only done on the filename - the files are not actually compared.</p><p><em>Example:</em> <code>Select DESTTOSOURCE</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
|                    |      | **in**                     | <p>Selects all files and folders in the source file display that exist in the destination.</p><p><em>Example:</em> <code>Select DESTTOSOURCE=in</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
|                    |      | **noext**                  | <p>Does not consider file extensions when comparing selected files in the source and destination. For example, if <strong>IMGP1234.JPG</strong> was selected in the destination, and <strong>IMGP1234.WAV</strong> existed in the source, it would be selected.</p><p><em>Example:</em> <code>Select DESTTOSOURCE=noext</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
|                    |      | **notin**                  | <p>Selects all files and folders in the source file display that don't exist in the destination.</p><p><em>Example:</em> <code>Select DESTTOSOURCE=notin</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| DUPES              | /S   | _(no value)_               | <p>Displays the <strong>Duplicates Selection</strong> dialog, which lets you select files after performing a <a href="../../../additional_functionality/duplicate_file_finder">duplicates search</a>.</p><p><em>Example:</em> <code>Select DUPES</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| EXACT              | /S   | _(no value)_               | <p>Indicates that the PATTERN argument is a literal file name and not a wildcard or regular expression. This allows you to specify an exact filename without having to escape wildcard characters like '(' and ')'.</p><p><em>Example:</em> <code>Select "Cat Photo (1).jpg" EXACT</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| FILTER             | /S   | _(no value)_               | <p>Performs file selection using a pre-defined filter. The name of the filter must be given as the value of the <strong>PATTERN</strong> argument. Filters must have previously been configured through the <a href="../../../preferences/preferences_categories/filtering_and_sorting/filters"><strong>Filters</strong></a> page in Preferences.</p><p>You can use this with the <strong>TYPE</strong> argument to restrict the filter to either files or folders only.</p><p><em>Example:</em> <code>Select "Image Files" FILTER</code></p><p>You can also use this from a script, by using the <a href="../../scripting_reference/scripting_objects/command"><strong>Command</strong></a><strong>.SetFilter</strong> method to assign a filter to a <strong>Command</strong> object. Running the command <code>Select FILTER</code> from that object would select files according to the filter.</p>                                                                                                                                                                                                                                                                |
| FILTERDEF          | /K/R | _\<filter>_                | <p>Lets you define a filter in <a href="../../../file_operations/filtered_operations/textual_filters">text format</a> to select matching files. Similar to the <strong>FILTER</strong> argument, however the filter does not need to be predefined.</p><p>This is a <strong>/R</strong> argument and so everything after the <strong>FILTERDEF</strong> keyword will be treated as the argument's value.</p><p><em>Example:</em> <code>Select FILTERDEF name match *.zip and size match > 2 mb</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| FILTERFLAGS        | /K   | **select**                 | <p>Select files that match the filter (this argument is used in conjunction with the <strong>FILTER</strong> argument). This is the default behaviour.</p><p><em>Example:</em> <code>Select Documents FILTER FILTERFLAGS=select</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
|                    |      | **deselect**               | <p>Deselect files that match the filter.</p><p><em>Example:</em> <code>Select "Music Files" FILTER FILTERFLAGS=deselect</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
|                    |      | **hide**                   | <p>Hide files that match the filter.</p><p><em>Example:</em> <code>Select "Temp Files" FILTER FILTERFLAGS=hide</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
|                    |      | **hidenomatch**            | <p>Hide files that don't match the filter.</p><p><em>Example:</em> <code>Select "Image Files" FILTER FILTERFLAGS=hidenomatch</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| FIRST              | /S   | _(no value)_               | <p>Select the first item in the source file display, deselect all other items.</p><p><em>Example:</em> <code>Select FIRST</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| FROMCHECKS         | /S   | _(no value)_               | <p>Convert the state of checked items to selections (checked items will be selected, non-checked items will be deselected). This only applies in <a href="../../../basic_concepts/selecting_files/selecting_with_the_mouse_and_keyboard/checkbox_mode">checkbox mode</a>.</p><p><em>Example:</em> <code>Select FROMCHECKS</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| FROMSCRIPT         | /O   | _(no value)_               | <p>This command should be used when running a Select command from a script (e.g. via <strong>Command.RunCommand</strong>). It tells the command to select the files in the <strong>Command</strong> object itself.</p><p><em>Example:</em> <code>Func.Command.RunCommand("Select FROMSCRIPT");</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
|                    |      | **unhide**                 | <p>Any items that are currently hidden will be unhidden before being selected.</p><p><em>Example:</em> <code>Func.Command.RunCommand("Select FROMSCRIPT=unhide");</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| GROUPNAME          | /O   | _(no value)_               | <p>When the file display is <a href="../../../basic_concepts/sorting_and_grouping">grouped</a>, this lets you select files based on the group they are in. When <strong>GROUPNAME</strong> is used without an associated value, the value of the <strong>PATTERN</strong> argument is used as the name of the group to match.</p><p>The example below selects all files in groups beginning with <strong>X</strong>.</p><p><em>Example:</em> <code>Select X\* GROUPNAME</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
|                    |      | _\<group name>_            | <p>When a value is provided for the <strong>GROUPNAME</strong> argument it specifies the name (or wildcard pattern) of the file group. The selection operation will be confined to files and folders in matching groups.</p><p>You can also use this in conjunction with the <strong>SETFOCUS</strong> argument to give input focus to a group header.</p><p><em>Example:</em> <code>Select *.jpg GROUPNAME Today</code><br><em>Example:</em> <code>Select NOPATTERN GROUPNAME Yesterday SETFOCUS</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| HIDESEL            | /O   | _(no value)_               | <p>Hide all selected items (both files and folders). This is used either with the <strong>PATTERN</strong> argument to hide all files that match the pattern, or with the <strong>NOPATTERN</strong> argument to hide all currently selected files.</p><p><em>Example:</em> <code>Select *.tmp HIDESEL</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
|                    |      | **dirs**                   | <p>Hide all selected directories.</p><p><em>Example:</em> <code>Select HIDESEL=dirs NOPATTERN</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
|                    |      | **files**                  | <p>Hide all selected files.</p><p><em>Example:</em> <code>Select HIDESEL=files NOPATTERN</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| HIDEUNAFFECTED     | /S   | _(no value)_               | <p>When used with the <a href="../../../file_operations/copying_moving_and_deleting_files/copying_updated_files/synchronize">synchronize</a> tool, this hides any items from the list that are not marked to be synchronized (either copied or deleted).</p><p><em>Example:</em> <code>Select HIDEUNAFFECTED</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| HIDEUNSEL          | /O   | _(no value)_               | <p>Hide all unselected items (both files and folders). This is used either with the <strong>PATTERN</strong> argument (files that don't match the pattern will be hidden), or with the <strong>NOPATTERN</strong> argument (all currently unselected files will be hidden).</p><p><em>Example:</em> <code>Select NOPATTERN HIDEUNSEL</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
|                    |      | **dirs**                   | <p>Hide all unselected directories.</p><p><em>Example:</em> <code>Select HIDEUNSEL=dirs NOPATTERN</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
|                    |      | **files**                  | <p>Hide all unselected files.</p><p><em>Example:</em> <code>Select HIDEUNSEL=files NOPATTERN</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| IGNORECHECKBOXMODE | /S   | _(no value)_               | <p>The command will act as if the file display is not in <a href="../../../basic_concepts/selecting_files/selecting_with_the_mouse_and_keyboard/checkbox_mode">checkbox mode</a>, even if it is. Normally, the Select command will check and uncheck files while in checkbox mode, but this argument allows you to modify the normal file selection and leave the checkboxes alone. In particular, it allows scripts to set the normal selection and focus item to a particular file without modifying the checkbox states.</p><p><em>Example:</em> <code>Select "dopus.exe" IGNORECHECKBOXMODE</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| INVERT             | /S   | _(no value)_               | <p>Inverts the selection state of all items in the source file display.</p><p><em>Example:</em> <code>Select INVERT</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| LAST               | /S   | _(no value)_               | <p>Selects the last item in the source file display, deselect all other items.</p><p><em>Example:</em> <code>Select LAST</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| MAKEVISIBLE        | /O   | _(no value)_               | <p>Ensures that the first selected item is visible in the file display. The list will be scrolled if needed. Similar to the <strong>SETFOCUS</strong> argument except the viewer pane will not update to show the new selection.</p><p><em>Example:</em> <code>Select *.doc MAKEVISIBLE</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
|                    |      | **immediate**              | <p>Prevents the short delay that normally occurs before the selected file is scrolled into view.</p><p><em>Example:</em> <code>Select NEXT MAKEVISIBLE=immediate</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| NEXT               | /O   | _(no value)_               | <p>Selects the next item in the file display. The first item immediately following the first currently selected item will be selected, and all other items deselected.</p><p><em>Example:</em> <code>Select NEXT</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
|                    |      | **mark**                   | <p>Toggles the selection state of the currently focused item, and moves the input focus to the next item in the list. This is the equivalent of pressing the <strong>Insert</strong> key in the file display.</p><p><em>Example:</em> <code>Select NEXT=mark</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
|                    |      | **nodeselect**             | <p>Prevents any currently selected items from being deselected.</p><p><em>Example:</em> <code>Select NEXT=nodeselect</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
|                    |      | **row**                    | <p>In the icon display modes (e.g. Thumbnails mode) this will move the selection down one row (vertically instead of horizontally). Ignored in Details and Power modes.</p><p><em>Example:</em> <code>Select NEXT=row,mark</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| NONE               | /S   | _(no value)_               | <p>Deselects all items in the source file display.</p><p><em>Example:</em> <code>Select NONE</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| NOPATTERN          | /S   | _(no value)_               | <p>The <strong>Select</strong> command normally requires a value for the <strong>PATTERN</strong> argument to operate, but in some cases you may need it to operate without supplying a pattern. For example, the <strong>HIDESEL</strong> and <strong>HIDEUNSEL</strong> arguments can be used to hide all currently selected or unselected items without applying a new wildcard selection first.</p><p><em>Example:</em> <code>Select HIDESEL NOPATTERN</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| PATTERN            |      | _\<pattern>_               | <p>Specify a wildcard pattern. All items matching the supplied pattern will be selected (or deselected, hidden, etc. based on the other arguments for this command). The pattern can be specified using <a href="../../wildcard_reference/pattern_matching_syntax">standard pattern matching</a> syntax, or <a href="../../wildcard_reference/regular_expression_syntax">regular expressions</a> if the <strong>REGEXP</strong> argument is supplied. The <strong>PATTERN</strong> argument is also used to provide the name of a pre-defined filter in conjunction with the <strong>FILTER</strong> argument.</p><p>This is the default argument for the <strong>Select</strong> command and so the <strong>PATTERN</strong> keyword does not need to be supplied.</p><p><em>Example:</em> <code>Select *.(bmp|jpg|gif) HIDEUNSEL</code></p>                                                                                                                                                                                                                                                                                                                          |
| PREV               | /O   | _(no value)_               | <p>Select the previous item in the file display. The first item immediately preceding the last currently selected item will be selected, and all other items deselected.</p><p><em>Example:</em> <code>Select PREV</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
|                    |      | **mark**                   | <p>Toggles the selection state of the currently focused item, and moves the input focus to the previous item in the list. Similar to pressing the <strong>Insert</strong> key, except the focus moves to the previous rather than the next item.</p><p><em>Example:</em> <code>Select PREV=mark</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
|                    |      | **nodeselect**             | <p>Prevents any currently selected items from being deselected.</p><p><em>Example:</em> <code>Select PREV=nodeselect</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
|                    |      | **row**                    | <p>In the icon display modes (e.g. Thumbnails mode) this will move the selection up one row (vertically instead of horizontally). Ignored in Details and Power modes.</p><p><em>Example:</em> <code>Select PREV=row,mark</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| RANGE              | /K   | _\<range>_                 | <p>Selects a range of items based on their index (their position in the list). This command is equivalent to the range selection mode of the <a href="../../../basic_concepts/the_lister/find-as-you-type_field">find-as-you-type</a> field. The <em>&#x3C;range></em> value consists of one or more comma-separated ranges; each range can be a single number, or two numbers separated by a hyphen to indicate all numbers within that range.</p><p><em>Example:</em> <code>Select RANGE 3,8-15,22-25,30</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| REGEXP             | /S   | _(no value)_               | <p>Use <a href="../../wildcard_reference/regular_expression_syntax">regular expression</a> mode instead of standard pattern matching.</p><p><em>Example:</em> <code>Select .*\\jpg REGEXP</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| RESELECT           | /S   | _(no value)_               | <p>Reselects all files and folders that were used (and deselected) by the previously executed command.</p><p><em>Example:</em> <code>Select RESELECT</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| SETFOCUS           | /S   | _(no value)_               | <p>Ensures that the first selected item is visible in the file display. The list will be scrolled if needed. Additionally, if the viewer pane is open the first selected file will be automatically viewed if possible.</p><p><em>Example:</em> <code>Select *.jpg SETFOCUS</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| SHOWFOCUS          | /S   | _(no value)_               | <p>If necessary, scrolls the file display to make the currently focused item visible. The selection will not be modified.</p><p><em>Example:</em> <code>Select SHOWFOCUS</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| SHOWHIDDEN         | /O   | _(no value)_               | <p>Reveal any files or folders that have previously been hidden by commands using the <strong>HIDESEL</strong> or <strong>HIDEUNSEL</strong> arguments. The other way to reveal files hidden this way is by re-reading the folder (e.g. press <strong>F5</strong>).</p><p><em>Example:</em> <code>Select NOPATTERN SHOWHIDDEN</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
|                    |      | **dirs**                   | <p>Reveals all hidden directories.</p><p><em>Example:</em> <code>Select SHOWHIDDEN=dirs NOPATTERN</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
|                    |      | **files**                  | <p>Reveals all hidden files.</p><p><em>Example:</em> <code>Select SHOWHIDDEN=files NOPATTERN</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| SHOWUNAFFECTED     | /S   | _(no value)_               | <p>When used with the <a href="../../../file_operations/copying_moving_and_deleting_files/copying_updated_files/synchronize">synchronize</a> tool, this reveals any items that have previously been hidden because they were not marked to be synchronized (either copied or deleted).</p><p><em>Example:</em> <code>Select SHOWUNAFFECTED</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| SIMILAR            | /S   | _(no value)_               | <p>Selects all files with the same file extensions as the currently selected files. For example, if a single <strong>.jpg</strong> and a single <strong>.gif</strong> file are currently selected, this command would select <em>all</em> <strong>.jpg</strong> and <strong>.gif</strong> files in the source file display.</p><p><em>Example:</em> <code>Select SIMILAR</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
|                    |      | **trueext**                | <p>Causes the command to ignore multi-part extensions. E.g. <strong>file.part1.rar</strong>, <strong>file.part2.rar</strong> and <strong>file.part3.rar</strong> would all be considered to be <strong>.rar</strong> files rather than having different extensions.</p><p><em>Example:</em> <code>Select SIMILAR=trueext</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| SIMILARBASE        | /S   | _(no value)_               | <p>Selects all files with the same base-names as the currently selected files. For example, if <strong>cat.jpg</strong> and <strong>dog.gif</strong> are currently selected, this command would select <em>all</em> <strong>cat.</strong>* and <strong>dog.</strong>* files in the source file display.</p><p><em>Example:</em> <code>Select SIMILARBASE</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| SIMPLE             | /S   | _(no value)_               | <p>Displays the <em>Select</em> dialog in <a href="../../../basic_concepts/selecting_files/simple_wildcard_selection">simple</a> mode.</p><p><em>Example:</em> <code>Select SIMPLE</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| SIZE               | /K   | _\<size>_                  | <p>Select files whose size matches the specified size. By default the size specified is treated as bytes, but you can use the following suffixes to use different units:</p><ul><li><strong>kb</strong> - kilobytes</li><li><strong>mb</strong> - megabytes</li><li><strong>gb</strong> - gigabytes You can also use <strong>></strong> (greater than) before the size to match all files larger than the specified size, or <strong>&#x3C;</strong> (less than) before the size to match all files smaller than the specified size.</li></ul><p><em>Example:</em> <code>Select *.png SIZE >2mb</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
|                    |      | _\<size1>_**..**_\<size2>_ | <p>Select files whose size falls between the two specified sizes. Both sizes are supplied in the format described above.</p><p><em>Example:</em> <code>Select SIZE 500kb..5mb DESELECTNOMATCH</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
|                    |      | **largest**                | <p>Select the largest item in the current source file display. You can combine this with the <strong>PATTERN</strong> argument to select the largest of a specific type of file.</p><p><em>Example:</em> <code>Select *.doc SIZE=largest</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
|                    |      | **smallest**               | <p>Select the smallest item in the current file display.</p><p><em>Example:</em> <code>Select SIZE=smallest</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| SOURCETODEST       | /O   | _(no value)_               | <p>Selects all files and folders in the destination file display that are currently selected in the source. The comparison is only done on the filename - the files are not actually compared.</p><p><em>Example:</em> <code>Select SOURCETODEST</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
|                    |      | **in**                     | <p>Selects all files and folders in the destination file display that exist in the source.</p><p><em>Example:</em> <code>Select SOURCETODEST=in</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
|                    |      | **noext**                  | <p>Does not consider file extensions when comparing selected files in the source and destination. For example, if <strong>IMGP1234.JPG</strong> was selected in the source, and <strong>IMGP1234.WAV</strong> existed in the destination, it would be selected.</p><p><em>Example:</em> <code>Select SOURCETODEST=noext</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
|                    |      | **notin**                  | <p>Selects all files and folders in the destination file display that don't exist in the source.</p><p><em>Example:</em> <code>Select SOURCETODEST=notin</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| THIS               | /S   | _(no value)_               | <p>Selects the current focus entry. It is possible for the entry with input focus to not be selected (for example, if you move the focus highlight with <strong>Control + Cursor-Down</strong>) and this command will select whichever entry is currently focused.</p><p><em>Example:</em> <code>Select THIS</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| TOCHECKS           | /S   | _(no value)_               | <p>Convert item selection states to check states. Selected items will be checked, and unselected items will be unchecked. If the file display is not currently in <a href="../../../basic_concepts/selecting_files/selecting_with_the_mouse_and_keyboard/checkbox_mode">checkbox mode</a> it will be turned on automatically.</p><p><em>Example:</em> <code>Select TOCHECKS</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| TYPE               | /K   | **files**                  | <p>Force the selection to only affect files - even if folders match the pattern they will be unaffected.</p><p>You can add the <strong>DESELECTOTHERTYPE</strong> argument to deselect all items of the "other" type.</p><p><em>Example:</em> <code>Select a\* TYPE=files</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
|                    |      | **dirs**                   | <p>Force the selection to only affect folders.</p><p><em>Example:</em> <code>Select "new *" TYPE=dirs</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
