# Properties

The **Properties** internal command can be used to:

* Display the system _Properties_ dialog for files and folders
* Display the [**Folder Options**](../../../basic_concepts/folder_options) dialog for the current folder
* Display the FTP [Site Properties](../../../ftp/site_properties) dialog for the currently connected FTP site
* Display a drop-down menu of your [favorite folder formats](../../../basic_concepts/folder_options/folder_formats)
* Assign a [label](../../../file_operations/labels) to selected files and folders
* Set a selected image file as the system wallpaper image

**Command Arguments:**

| Argument        | Type | Possible values                                                                | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| --------------- | ---- | ------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| _(no argument)_ | -    | -                                                                              | <p>Display the system <em>Properties</em> dialog for selected files and folders.</p><p><em>Example:</em> <code>Properties</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ADDLABEL        | /O   | _(no value)_                                                                   | <p>In conjunction with the <strong>SETLABEL</strong> argument, this lets you add one or more labels without clearing any existing ones.</p><p><em>Example:</em> <code>Properties SETLABEL=Green ADDLABEL</code></p><p>Can be combined with <strong>SETLABELTOGGLE</strong> to toggle a single label.</p><p><em>Example:</em> <code>Properties SETLABEL=Bold ADDLABEL SETLABELTOGGLE</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
|                 |      | <p><strong>shift</strong><br><strong>ctrl</strong><br><strong>alt</strong></p> | <p>If a keyword is specified, the labels will only be added if the specified key is held down when the function is run - otherwise the <strong>ADDLABEL</strong> argument will be ignored and they will replace existing labels as normal.</p><p><em>Example:</em> <code>Properties SETLABEL red ADDLABEL=ctrl</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| FILE            |      | _\<filename>_                                                                  | <p>Specifies the filename rather than using selected files. Wildcards are supported in the last path component. This is the default argument for the <strong>Properties</strong> command so you do not need to specify the <strong>FILE</strong> keyword. If the filename includes spaces make sure you enclose it in quotes.</p><p><em>Example:</em> <code>Properties "C:\Windows\System32\notepad.exe"</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| FOLDERFORMAT    | /S   | _(no value)_                                                                   | <p>Display the <strong>Folder Format</strong> dialog for the current folder.</p><p><em>Example:</em> <code>Properties FOLDERFORMAT</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| FTPSITE         | /S   | _(no value)_                                                                   | <p>Display the FTP <a href="../../../ftp/site_properties">Site Properties</a> dialog for the currently connected FTP site. If you are not currently viewing an FTP directory this command has no effect.</p><p><em>Example:</em> <code>Properties FTPSITE</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| HEADING         | /O   | _(no value)_                                                                   | <p>When used with commands which generate a list of items (see <a href="../../../customize/creating_your_own_buttons/editing_the_toolbar/dynamic_buttons">dynamic buttons</a>), the <strong>HEADING</strong> argument adds a small heading at the start of the list. The heading will be hidden when the list is empty. Headings only happen for commands which potentially generate multiple items at the same level as the button itself.</p><p>When <strong>HEADING</strong> is used by itself, without specifying a text value, the main button's label text is used for the heading.</p><p><em>Example:</em> <code>Properties SETLABEL HEADING</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
|                 |      | _\<heading text>_                                                              | <p>You can specify the heading text if you want it to be different to the button's label.</p><p><em>Example:</em> <code>Properties SETLABEL HEADING="Labels"</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| LABELCATEGORY   | /K   | _\<category>_                                                                  | <p>When used on a command that generates a list of labels (e.g. <code>Properties SETLABEL</code> or <code>Properties SETLABEL !menu</code>) this argument lets you filter the generated list by category. It accepts one or more comma-separated wildcard strings which let you match the name of categories to include.</p><p>The specified categories will also be used when resetting labels using the <code>Properties SETLABEL !reset</code> command - if <strong>LABELCATEGORY</strong> is used as well, only labels in the specified categories will be cleared. This is used in the default <strong>Properties</strong> drop-down menu to provide a command that clears status icons without affecting other labels.</p><p>You can match uncategorized labels using the pattern <strong>~</strong>* (which means "not anything").</p><p>Special handling exists for the two predefined categories, <em>Status</em> and <em>Colors</em>; these can be referenced using the English names prefixed with <strong>raw:</strong> and will work in any language.</p><p><em>Example:</em> <code>Properties SETLABEL !menu LABELCATEGORY raw:~(Status)</code></p> |
| LISTER          | /S   | _(no value)_                                                                   | <p>Displays the system <em>Properties</em> dialog for the folder currently displayed in the source file display.</p><p><em>Example:</em> <code>Properties LISTER</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| NOFROMFOCUS     | /S   | _(no value)_                                                                   | <p>The default behaviour for the <strong>Properties</strong> command is to operate on either the source file display, or the Folder Tree, depending on which one has the input focus. This lets you use the same command to access the <em>Properties</em> dialog for folders in the tree as well as files and folders in the file display. Specify this argument to force the command to always operate on the source file display and ignore the folder tree.</p><p><em>Example:</em> <code>Properties NOFROMFOCUS</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| POSITION        | /K   | _\<x,y>_                                                                       | <p>Specify the position for the Properties dialog in screen coordinates. If no positioned specified, the dialog will open in a default position.</p><p><em>Example:</em> <code>Properties POSITION=0,0</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
|                 |      | **rel**                                                                        | <p>Indicates the coordinates are relative to the Lister launching the Properties function.</p><p><em>Example:</em> <code>Properties POSITION=32,32,rel</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
|                 |      | **center**                                                                     | <p>Center the properties dialog over the Lister that launched it.</p><p><em>Example:</em> <code>Properties POSITION=center</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| SETLABEL        | /O   | _(no value)_                                                                   | <p>Displays a generated list of your configured <a href="../../../file_operations/labels">labels</a> (acts as a <a href="../../../customize/creating_your_own_buttons/editing_the_toolbar/dynamic_buttons">dynamic button</a>). Selecting a label from this list applies it to all selected files and folders.</p><p>This command supports <a href="../../../customize/creating_your_own_buttons/embedded_functions">embedded functions</a>when it's used to generate dynamic buttons.</p><p><em>Example:</em> <code>Properties SETLABEL</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
|                 |      | _\<label>\[,\<label>,...]_                                                     | <p>Applies the specified label or labels to all selected files and folders. Multiple label names must be comma-separated. Commas and back-slashes in label names must be escaped with a back-slash.</p><p>You can combine this with the <strong>ADDLABEL</strong> argument to add labels to existing ones rather than replacing them. You can further combine it with <strong>SETLABELTOGGLE</strong> to toggle labels on and off.</p><p>The keyword <strong>stoponmatch</strong> can be used to add the "stop on match" flag to a file, which prevents any wildcard or label filters from applying to the file.</p><p><em>Example:</em> <code>Properties SETLABEL=Green,Blue</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
|                 |      | **!menu**                                                                      | <p>Places the generated label list inside a menu.</p><p><em>Example:</em> <code>Properties SETLABEL !menu</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
|                 |      | **!submenu**                                                                   | <p>Generates submenus for each label category.</p><p><em>Example:</em> <code>Properties SETLABEL !submenu</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
|                 |      | **!submenu2**                                                                  | <p>Generates submenus for each label category, and places labels without a category in an <em>Uncategorized</em> group.</p><p><em>Example:</em> <code>Properties SETLABEL !menu,!submenu2</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
|                 |      | **!nogroup**                                                                   | <p>Labels are grouped by category by default; specify <strong>!nogroup</strong> to ignore categories and generate a flat list of labels, sorted only by name, with labels from different categories intermingling.</p><p><em>Example:</em> <code>Properties SETLABEL !menu,!nogroup</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
|                 |      | **!noreset**                                                                   | <p>A <em>Reset</em> option is normally added after an automatically generated label list. You can prevent this by specifying <strong>!noreset</strong>.</p><p><em>Example:</em> <code>Properties SETLABEL !noreset</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
|                 |      | **!nostoponmatch**                                                             | <p>A <em>Stop On Match</em> option is normally added after an automatically generated list of labels, if <strong>Apply wildcard and filter labels to explicitly labelled files</strong> is selected on the <a href="../../../preferences/preferences_categories/labels/options">Labels / Options</a> Preferences page. You can prevent it being added by specifying <strong>!nostoponmatch</strong>.</p><p><em>Example:</em> <code>Properties ADDLABEL SETLABELTOGGLE SETLABEL !nostoponmatch,!noreset LABELCATEGORY raw:Status</code></p><p>The example above would give you top-level buttons, directly on the toolbar, to toggle each of the Status labels, with no extra buttons cluttering up the toolbar.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                               |
|                 |      | **!compact**                                                                   | <p>Makes automatically generated label lists narrow and compact, where the button for each label only contains an icon or "Aa" label to show its effect. The full label names are not shown but can be revealed by hoving over each button. Intended for when you want a list of labels on a top-level toolbar without using much space.</p><p><em>Example:</em> <code>Properties SETLABEL=!compact</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
|                 |      | **!reset**                                                                     | <p>Removes the label from all selected items. You can combine this with the <strong>LABELCATEGORY</strong> argument to only remove labels in certain categories.</p><p><em>Example:</em> <code>Properties SETLABEL=!reset</code></p><p>Note that <strong>!reset</strong> does not affect automatically generated label lists; a <em>Reset</em> option is added to those automatically unless <strong>!noreset</strong> is specified. Rather, <strong>!reset</strong> creates a single button which will remove any labels on the selected files.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| SETLABELINFS    | /K   | **yes**                                                                        | <p>Specify in conjunction with the <strong>SETLABEL</strong> argument to override the state of the <strong>Enable label storage in the filesystem</strong> option on the <a href="../../../preferences/preferences_categories/labels/options">Labels / Options</a> Preferences page. Labels will be stored in the file system even if that option is disabled.</p><p><em>Example:</em> <code>Properties SETLABEL=Green SETLABELINFS=yes</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
|                 |      | **no**                                                                         | <p>The labels will be stored in your Opus configuration.</p><p><em>Example:</em> <code>Properties SETLABEL=Blue SETLABELINFS=no</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| SETLABELREMOVE  | /O   | _(no value)_                                                                   | <p>Specify in conjunction with the <strong>SETLABEL</strong> argument to remove labels. If the targeted file or folder already has the specified label, the label will be removed. Otherwise nothing will happen.</p><p>(Only affects labels explicitly applied to individual folders and files. Labels picked up via wildcards and filters can be overridden by more explicit labels but cannot be toggled on individual items.)</p><p><em>Example:</em> <code>Properties SETLABEL=Bold SETLABELREMOVE</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
|                 |      | <p><strong>shift</strong><br><strong>ctrl</strong><br><strong>alt</strong></p> | <p>If specified, the <strong>SETLABELREMOVE</strong> argument will only apply if the specified key is held down when the function is run.</p><p><em>Example:</em> <code>Properties SETLABEL=Bold SETLABELREMOVE=alt</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| SETLABELTOGGLE  | /O   | _(no value)_                                                                   | <p>Specify in conjunction with the <strong>SETLABEL</strong> argument to toggle labels. If the targeted file or folder already has the specified label, the entire label will be cleared instead.</p><p>(Only affects labels explicitly applied to individual folders and files. Labels picked up via wildcards and filters can be overridden by more explicit labels but cannot be toggled on individual items.)</p><p><em>Example:</em> <code>Properties SETLABEL=Bold SETLABELTOGGLE</code></p><p>Combine with <strong>ADDLABEL</strong> to toggle only a single label, while leaving any other labels the file has alone.</p><p><em>Example:</em> <code>Properties SETLABEL=Red SETLABELTOGGLE ADDLABEL</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                            |
|                 |      | <p><strong>shift</strong><br><strong>ctrl</strong><br><strong>alt</strong></p> | <p>If specified, the <strong>SETLABELTOGGLE</strong> argument will only apply if the specified key is held down when the function is run. If the key isn't held down, the label will only be turned on - it won't be toggled off again.</p><p><em>Example:</em> <code>Properties SETLABEL=Bold SETLABELTOGGLE=shift</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| SETWALLPAPER    | /O   | _(no value)_                                                                   | <p>Sets the selected image file as the system wallpaper. Opus will make a copy of the selected image file (and convert its format if necessary) - you can change where the copy is stored with the <strong>setwallpaper_file</strong> option on the <a href="../../../preferences/preferences_categories/miscellaneous/advanced_options"><strong>Miscellaneous / Advanced</strong></a> page in Preferences.</p><p><em>Example:</em> <code>Properties SETWALLPAPER</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
|                 |      | **center**                                                                     | <p>The wallpaper mode will be set to center the image on screen.</p><p><em>Example:</em> <code>Properties SETWALLPAPER=center</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
|                 |      | **tile**                                                                       | <p>The image will be tiled across the screen.</p><p><em>Example:</em> <code>Properties SETWALLPAPER=tile</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
|                 |      | **stretch**                                                                    | <p>The image will be stretched (or shrunk) to fill the screen completely.</p><p><em>Example:</em> <code>Properties SETWALLPAPER stretch</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
|                 |      | **fit**                                                                        | <p>The image will be cropped if necessary to fill the screen. The aspect ratio of the image will be preserved. This is only available on Windows 7 and above.</p><p><em>Example:</em> <code>Properties SETWALLPAPER=fit</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
|                 |      | **fill**                                                                       | <p>The image will be stretched or shrunk to fill screen, but the aspect ratio will be preserved - and so black bars may be displayed on the sides or top and bottom of the image. This is only available on Windows 7 and above.</p><p><em>Example:</em> <code>Properties SETWALLPAPER fill</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
|                 |      | **span**                                                                       | <p>The image will be spanned across a multiple monitor desktop. This is only available on Windows 8 and above.</p><p><em>Example:</em> <code>Properties SETWALLPAPER span</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
|                 |      | **menu**                                                                       | <p>Displays a drop-down menu of the various wallpaper modes (acts as a <a href="../../../customize/creating_your_own_buttons/editing_the_toolbar/dynamic_buttons">dynamic button</a>). Selecting a mode from this menu sets the selected image file as the wallpaper using that mode. This is useful when added to the context menu for the <strong>Images</strong> <a href="../../../file_types/file_type_groups">file type group</a>.</p><p><em>Example:</em> <code>Properties SETWALLPAPER=menu</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| SINGLE          | /S   | _(no value)_                                                                   | <p>Modifies the behaviour of the <strong>Properties</strong> command when more than one file or folder is selected. By default a combined <em>Properties</em> dialog is shown for all selected items, but if <strong>SINGLE</strong> is specified an individual <em>Properties</em> dialog is shown for each item.</p><p><em>Example:</em> <code>Properties SINGLE</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
