# Go

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

* [Navigate](../../../basic_concepts/the_lister/navigation) to a different folder in the Lister
* Move back and forward in the [history list](../../../basic_concepts/the_lister/navigation/recent_and_history_lists), and display the contents of the history list
* Connect and disconnect network shares
* Display a list of drives on your toolbar
* Display the contents of a folder in a drop-down menu
* Display a list of sites in the [FTP address book](../../../ftp/ftp_address_book)
* Open new Listers
* Open and manipulate [folder tabs](../../../basic_concepts/the_lister/tabs) and [tab groups](../../../basic_concepts/the_lister/tabs/tab_groups).

**Command Arguments:**

<table><thead><tr><th>Argument</th><th>Type</th><th>Possible values</th><th>Description</th></tr></thead><tbody><tr><td>BACK</td><td>/S</td><td><em>(no value)</em></td><td><p>Navigate to the previous folder in the <a href="../../../basic_concepts/the_lister/navigation/recent_and_history_lists">history list</a>. The history list preserves the file selection and scroll offset state of the folder. The <strong>BACK</strong> argument can be combined with the <strong>UP</strong> argument; in that case, if the previous folder in the history list is the current folder's parent, Opus will go back (preserving selections, etc) rather than <strong>UP</strong>.</p><p>You can combine this with arguments that change the target of the navigation, like <strong>NEW</strong>, <strong>NEWTAB</strong>, <strong>OPENINDUAL</strong> etc.</p><p><em>Example:</em> <code>Go BACK</code></p></td></tr><tr><td>BACKLIST</td><td>/O</td><td><em>(no value)</em></td><td><p>Display a list of all previous folders in the history list (acts as a <a href="../../../customize/creating_your_own_buttons/editing_the_toolbar/dynamic_buttons">dynamic button</a>). This is used on the drop-down menu attached to the Back button on the default toolbar.</p><p><em>Example:</em> <code>Go BACKLIST</code></p></td></tr><tr><td></td><td></td><td><strong>namesonly</strong></td><td><p>Display only folder names, not full paths. Tooltips will show full paths when hovering over items.</p><p><em>Example:</em> <code>Go BACKLIST=namesonly</code></p></td></tr><tr><td></td><td></td><td><strong>noicons</strong></td><td><p>Does not display icons on the generated history list.</p><p><em>Example:</em> <code>Go BACKLIST=noicons</code></p></td></tr><tr><td></td><td></td><td><strong>keys</strong></td><td><p>Assigns the accelerator keys <strong>0</strong> through <strong>9</strong> to the first ten items displayed on the generated history list.</p><p><em>Example:</em> <code>Go BACKLIST=noicons,keys</code></p></td></tr><tr><td></td><td></td><td><strong>sort</strong></td><td><p>Sorts the history list alphabetically instead of in chronological order.</p><p><em>Example:</em> <code>Go BACKLIST=sort</code></p></td></tr><tr><td>COMPATIBILITYFILES</td><td>/S</td><td><em>(no value)</em></td><td><p>Switch between a folder and its compatibility store. Not all folders have compatibility stores - this command will do nothing in that case. For example, from <strong>C:\Program Files</strong> you would be taken to <strong>C:\Users\..\VirtualStore\Program Files</strong>, and vice versa.</p><p>The compatibility store concept was introduced in Windows Vista with the addition of UAC, to support older software that tried to save files in the program folder. These days the concept is hardly ever encountered.</p><p><em>Example:</em> <code>Go COMPATIBILITYFILES</code></p></td></tr><tr><td>CONNECT</td><td>/O</td><td><em>(no value)</em></td><td><p>Display the system dialog that allows you to map a network share to a drive letter.</p><p><em>Example:</em> <code>Go CONNECT</code></p></td></tr><tr><td></td><td></td><td><em>&#x3C;network path></em></td><td><p>Map the specified network path to a drive letter.</p><p><em>Example:</em> <code>Go CONNECT \\server\share</code></p></td></tr><tr><td>COPYARGS</td><td>/K/R</td><td><em>(no value)</em></td><td><p>A command like <code>Go FOLDERCONTENT=copy</code> which generates a list of buttons, each of which copies or moves files to or from a different place. Each generated button runs the Opus <strong>Copy</strong> command, which takes different arguments to the <strong>Go</strong> command.</p><p>The <strong>COPYARGS</strong> argument allows you to specify one or more additional <strong>Copy</strong>-command arguments which are added to each of the generated buttons.</p><p>Since this is a "raw" argument, it should be the last thing on the line. All text after the word "COPYARGS" will be taken as-is, including any quote characters, and appended to the copy command of each generated button.</p><p><em>Example:</em> <code>Go C:\ FOLDERCONTENT=copy COPYARGS COPYFILETIMES=no</code></p></td></tr><tr><td>CURDIR</td><td>/O</td><td><em>(no value)</em></td><td><p>Activates "current directory" mode for the <strong>Go</strong> command. When used with a drive letter for the <strong>PATH</strong> argument, this mode makes Opus navigate to the most recently accessed folder on the specified drive. Opus will remember the "current directory" for each drive in your system, even from one session to the next.</p><p>When used in conjunction with the <strong>DRIVEBUTTONS</strong> argument, the generated drive letter buttons will have the same behaviour, and will highlight to indicate the "current drive". In this way you can click around from one drive to another remembering the previously used folder on each drive.</p><p><em>Example:</em> <code>Go D: CURDIR</code><br><em>Example:</em> <code>Go DRIVEBUTTONS=fixed CURDIR</code></p></td></tr><tr><td></td><td></td><td><strong>rootmode</strong></td><td><p>Modifies "current directory" mode so that clicking the button for the drive you are already on takes you to the root of the drive (ordinarily it would do nothing).</p><p><em>Example:</em> <code>Go DRIVEBUTTONS CURDIR=rootmode</code></p></td></tr><tr><td>CURRENT</td><td>/S</td><td><em>(no value)</em></td><td><p>Indicates the current source folder. This argument is used to open the current folder in another tab, Lister or file display.</p><p><em>Example:</em> <code>Go CURRENT OPENINDUAL</code></p></td></tr><tr><td>DESTPATH</td><td>/S</td><td><em>(no value)</em></td><td><p>Indicates the current destination folder. This argument is used to open the destination folder in the source file display (or another Lister, or tab).</p><p><em>Example:</em> <code>Go DESTPATH</code></p></td></tr><tr><td>DISCONNECT</td><td>/S</td><td><em>(no value)</em></td><td><p>Display the system dialog that allows you to disconnect (unmap) a network share.</p><p><em>Example:</em> <code>Go DISCONNECT</code></p></td></tr><tr><td>DRIVEBUTTONS</td><td>/O</td><td><em>(no value)</em></td><td><p>Display a list of all the drives currently on your system (acts as a <a href="../../../customize/creating_your_own_buttons/editing_the_toolbar/dynamic_buttons">dynamic button</a>). Clicking a button navigates the source folder to that drive's root. The drive buttons can also be right-clicked to display the context menu for each drive.</p><p>The various values for this argument can be used to restrict the drives that are shown.</p><p><em>Example:</em> <code>Go DRIVEBUTTONS</code></p></td></tr><tr><td></td><td></td><td><strong>fixed</strong></td><td><p>Only display the fixed drives (hard drives).</p><p><em>Example:</em> <code>Go DRIVEBUTTONS=fixed</code></p></td></tr><tr><td></td><td></td><td><strong>network</strong></td><td><p>Only display network (mapped) drives.</p><p><em>Example:</em> <code>Go DRIVEBUTTONS=network</code></p></td></tr><tr><td></td><td></td><td><strong>cdrom</strong></td><td><p>Only display CD-ROM (and DVD) drives.</p><p><em>Example:</em> <code>Go DRIVEBUTTONS=cdrom</code></p></td></tr><tr><td></td><td></td><td><strong>removable</strong></td><td><p>Only display removable drives (floppies, and some USB drives).</p><p><em>Example:</em> <code>Go DRIVEBUTTONS=removable,cdrom</code></p></td></tr><tr><td></td><td></td><td><strong>ramdisk</strong></td><td><p>Only display RAM drives.</p><p><em>Example:</em> <code>Go DRIVEBUTTONS=ramdisk</code></p></td></tr><tr><td></td><td></td><td><strong>mtp</strong></td><td><p>Only display MTP (portable) devices.</p><p><em>Example:</em> <code>Go DRIVEBUTTONS=mtp</code></p></td></tr><tr><td></td><td></td><td><strong>iconlettersoff</strong></td><td><p>Disable the display of small drive letters as part of each drive's icon.</p><p><em>Example:</em> <code>Go DRIVEBUTTONS=fixed,iconlettersoff</code></p></td></tr><tr><td></td><td></td><td><strong>iconletterson</strong></td><td><p>Enable the display of small drive letters as part of each drive's icon.</p><p><em>Example:</em> <code>Go DRIVEBUTTONS=iconletterson</code></p></td></tr><tr><td></td><td></td><td><strong>labels</strong></td><td><p>Displays the label of each drive. By default only each drive's letter is shown.</p><p><em>Example:</em> <code>Go DRIVEBUTTONS=fixed,labels</code></p></td></tr><tr><td></td><td></td><td><strong>noletters</strong></td><td><p>Prevents the display of each drive's letter, if labels are being shown using the <strong>labels</strong> keyword. Note that if you want to completely disable any text being displayed in the button you need to turn off the button's <strong>Show Label</strong> checkbox in the <a href="../../../customize/creating_your_own_buttons/command_editor">button editor</a>.</p><p><em>Example:</em> <code>Go DRIVEBUTTONS=labels,noletters</code></p></td></tr><tr><td></td><td></td><td><strong>multifunc</strong></td><td><p>The generated drive buttons will be <a href="../../../customize/creating_your_own_buttons/editing_the_toolbar/multiple_function_buttons">multiple function buttons</a> (three-button buttons) - clicking them with the left mouse button will act as if <strong>OPENINLEFT</strong> were set, the right button will act as if <strong>OPENINRIGHT</strong> were set, and the middle mouse button will act as if <strong>NEW</strong> were set.</p><p><em>Example:</em> <code>Go DRIVEBUTTONS=fixed,network,multifunc</code></p></td></tr><tr><td></td><td></td><td><strong>multifunctabs</strong></td><td><p>Similar to <strong>multifunc</strong>, except the left and right mouse button functions will open a new tab on the appropriate side of the Lister. You can control how new tabs are opened with the <strong>NEWTAB</strong> argument.</p><p><em>Example:</em> <code>Go DRIVEBUTTONS=multifunctabs,labels,fixed</code></p></td></tr><tr><td></td><td></td><td><strong>lettersbeforelabels</strong></td><td><p>When showing both drive letters and labels, the letters will be displayed first. Without this letters are shown following the labels.</p><p><em>Example:</em> <code>Go DRIVEBUTTONS=fixed,labels,lettersbeforelabels</code></p></td></tr><tr><td></td><td></td><td><strong>offline</strong></td><td><p>When showing network drives, only offline drives will be shown (by default both connected and offline drives are shown).</p><p><em>Example:</em> <code>Go DRIVEBUTTONS=network,offline</code></p></td></tr><tr><td></td><td></td><td><strong>online</strong></td><td><p>When showing network drives, only online (connected) drives will be shown.</p><p><em>Example:</em> <code>Go DRIVEBUTTONS=network,online</code></p></td></tr><tr><td></td><td></td><td><strong>hideempty</strong></td><td><p>Hides the display of empty drives. Removable disks (floppies, card readers, DVDs) that have no media inserted in them will not be displayed.</p><p><em>Example:</em> <code>Go DRIVEBUTTONS=cdrom,removable,hideempty</code></p></td></tr><tr><td></td><td></td><td><strong>+</strong><em>&#x3C;letters></em></td><td><p>Only display the specified drive letters. Any drives not specified will be hidden.</p><p><em>Example:</em> <code>Go DRIVEBUTTONS=removable,+fhjm</code></p></td></tr><tr><td></td><td></td><td><strong>-</strong><em>&#x3C;letters></em></td><td><p>Do not display the specified drive letters.</p><p><em>Example:</em> <code>Go DRIVEBUTTONS=-d</code></p></td></tr><tr><td>DUALPATH</td><td>/K</td><td><em>&#x3C;path to read></em></td><td><p>Specify a path to read into the destination file display of a dual-display Lister (the standard <strong>PATH</strong> argument reads into the source file display).</p><p>``Go C:\ DUALPATH D:\`</p></td></tr><tr><td>EJECT</td><td>/S</td><td><em>(no value)</em></td><td><p>Trigger an eject of the media in the drive specified by the <strong>PATH</strong> argument. This command has no effect if the drive does not have an eject mechanism.</p><p><em>Example:</em> <code>Go D: EJECT</code></p></td></tr><tr><td>EXISTINGLISTER</td><td>/O</td><td><em>(no value)</em></td><td><p>If the specified folder is already open in an existing lister (including inactive folder tabs in other windows) then the command will activate that lister and the appropriate tab within it and do nothing else. If another window is found then the rest of the command's arguments are ignored. If the specified path is not already open in another window then the command continues as if the <strong>EXISTINGLISTER</strong> argument had not been given.</p><p><em>Example:</em> <code>Go "C:\Program Files" NEW EXISTINGLISTER</code></p></td></tr><tr><td></td><td></td><td><strong>seltabsonly</strong></td><td><p>Only selected folder tabs will be considered. If the specified folder is open in an existing lister, but in a folder tab which is not currently selected, then that tab will be ignored.</p><p><em>Example:</em> <code>Go "C:\Program Files" NEW EXISTINGLISTER=seltabsonly</code></p></td></tr><tr><td>EXPANDBRANCH</td><td>/O</td><td><em>(no value)</em></td><td><p>When <a href="../../../preferences/preferences_categories/file_displays/folder_expansion">Folder Expansion</a> is turned on in Preferences, this command lets you programmatically expand folders in the current file display.</p><p>When used with no value, all currently selected folders will be expanded. You can combine this with the <strong>PATH</strong> argument to specify the item to expand by path - or in conjunction with the <strong>wild</strong> or <strong>regexp</strong> keywords, by pattern matching.</p><p><em>Example:</em> <code>Go EXPANDBRANCH</code></p></td></tr><tr><td></td><td></td><td><strong>case</strong></td><td><p>Use with <code>regexp</code> or <code>wild</code> to make the wildcard operation case sensitive.</p><p><em>Example:</em> <code>Go EXPANDBRANCH=toggle,regexp,case PATH \[a-z\]+</code></p></td></tr><tr><td></td><td></td><td><strong>clearselect</strong></td><td><p>Use with <code>collapse</code> to automatically clear the selection of any files or folders inside the folders being collapsed.</p><p><em>Example:</em> <code>Go EXPANDBRANCH=collapse,clearselect</code></p></td></tr><tr><td></td><td></td><td><strong>collapse</strong></td><td><p>Collapses currently selected folders if they're currently expanded. Additionally, if a single file or unexpanded folder is selected and it's inside an expanded parent folder, the parent folder will be collapsed.</p><p><em>Example:</em> <code>Go EXPANDBRANCH=collapse</code></p></td></tr><tr><td></td><td></td><td><strong>noparent</strong></td><td><p>When used with <code>Go EXPANDBRANCH=collapse</code> this prevents it collapsing the parent folder of a selected file or unexpanded folder.</p><p><em>Example:</em> <code>Go EXPANDBRANCH=collapse,noparent</code></p></td></tr><tr><td></td><td></td><td><strong>regexp</strong></td><td><p>The <strong>PATH</strong> argument will be interpreted as a <a href="../../wildcard_reference/regular_expression_syntax">regular expression</a>.</p><p><em>Example:</em> <code>Go EXPANDBRANCH=toggle,regexp PATH \[a-z\]+</code></p></td></tr><tr><td></td><td></td><td><strong>script</strong></td><td><p>When run from a script, uses the folders added to the <a href="../../scripting_reference/scripting_objects/command">Command</a> object to expand/collapse rather than selected folders.</p><p><em>Example:</em> <code>Go EXPANDBRANCH=script,toggle</code></p></td></tr><tr><td></td><td></td><td><strong>toggle</strong></td><td><p>Toggles the expansion state of currently selected folers.</p><p><em>Example:</em> <code>Go EXPANDBRANCH=toggle</code></p></td></tr><tr><td></td><td></td><td><strong>toggleall</strong></td><td><p>Toggles the expansion state of selected folders as a group. If any are not expanded, all will be expanded. If all are expanded, all will be collapsed.</p><p><em>Example:</em> <code>Go EXPANDBRANCH=toggleall</code></p></td></tr><tr><td></td><td></td><td><strong>top</strong></td><td><p>Restricts the command to expanding/collapsing items at the top level, ignoring nested items. (Has no effect if the <strong>PATH</strong> argument is used to specify the item).</p><p><em>Example:</em> <code>Go EXPANDBRANCH=toggleall,top</code></p></td></tr><tr><td></td><td></td><td><strong>wild</strong></td><td><p>The <strong>PATH</strong> argument will be interpreted as a <a href="../../wildcard_reference/pattern_matching_syntax">wildcard</a>. Note the wildcard is tested against names only, not complete paths. Any folders matching the wildcard will be expanded or collapsed, whether they are currently selected or not.</p><p><em>Example:</em> <code>Go EXPANDBRANCH=toggleall,top,wild PATH *_backup</code></p></td></tr><tr><td>FDBBUTTONS</td><td>/O</td><td><em>(no value)</em></td><td><p>This command acts as a <a href="../../../customize/creating_your_own_buttons/editing_the_toolbar/dynamic_buttons">dynamic button</a>. It lets you add buttons to a toolbar that mimic the standard File Display Border buttons. The command is designed to be used on the File Display toolbar as an alternative to the standard buttons.</p><p>By default the command will add <em>Back</em>, <em>Forward</em>, <em>Up</em>, <em>Copy</em>, <em>Swap</em> and <em>Toggle Layout</em> buttons. You can use the various keywords to control exactly which buttons are added.</p><p><em>Example:</em> <code>Go FDBBUTTONS</code></p></td></tr><tr><td></td><td></td><td><em>&#x3C;button keywords></em></td><td><p>Use combinations of the keywords <strong>back</strong>, <strong>forward</strong>, <strong>up</strong>, <strong>copy</strong>, <strong>swap</strong> and <strong>layout</strong> to control exactly which buttons are added.</p><p><em>Example:</em> <code>Go FDBBUTTONS back,forward</code> - show <em>Back</em> and <em>Forward</em> buttons<br><em>Example:</em> <code>Go FDBBUTTONS -layout</code> - show all but the <em>Toggle Layout</em> button</p></td></tr><tr><td></td><td></td><td><strong>noicons</strong></td><td><p>Do not display icons for the generated buttons.</p><p><em>Example:</em> <code>Go FDBBUTTONS -layout,noicons</code></p></td></tr><tr><td></td><td></td><td><strong>nolabels</strong></td><td><p>Do not display labels for the generated buttons.</p><p><em>Example:</em> <code>Go FDBBUTTONS swap,layout,nolabels</code></p></td></tr><tr><td></td><td></td><td><strong>dropdowns</strong></td><td><p>Make the generated buttons drop-down buttons where applicable.</p><p><em>Example:</em> <code>Go FDBBUTTONS back,forward,up,dropdowns</code></p></td></tr><tr><td>FINDTITLE</td><td>/K</td><td><em>&#x3C;title string></em></td><td><p>Finds all currently open Listers with titles that match the specified string, and brings them to the front. The string to search for can be a specific title or a <a href="../../wildcard_reference/pattern_matching_syntax">wildcard pattern</a>.</p><p><em>Example:</em> <code>Go FINDTITLE *Projects</code>*</p></td></tr><tr><td>FOLDERCONTENT</td><td>/O</td><td><em>(no value)</em></td><td><p>Display the contents of the path specified by the <strong>PATH</strong> argument in drop-down menus (acts as a <a href="../../../customize/creating_your_own_buttons/editing_the_toolbar/dynamic_buttons">dynamic button</a>). Sub-folders in the generated list can be selected to navigate to that location, and files in the generated list can be selected to open that file. You can also right-click on items to display their context menus, and drag-and-drop files to folders (to copy or move them) or over other files (to open them). If you hover the mouse over a sub-folder it will expand to display another menu showing the contents of the sub-folder.</p><p>When used with <strong>FOLDERCONTENT</strong> only, the <strong>PATH</strong> argument supports multiple paths separated with a vertical bar (<strong>|</strong>). For example, this would let you reproduce (to some extent anyway) the Windows start menu in a drop-down menu in a Lister, by showing both the current user's start folder and the common (all users) start folder.</p><p><em>Example:</em> <code>Go /start|/commonstartmenu FOLDERCONTENT</code></p></td></tr><tr><td></td><td></td><td><strong>button</strong></td><td><p>Sub-folders in the generated <strong>FOLDERCONTENT</strong> list will appear as menu-buttons. Clicking the button part will read the sub-folder, expanding the drop-down will display its contents.</p><p><em>Example:</em> <code>Go C: FOLDERCONTENT=button</code></p></td></tr><tr><td></td><td></td><td><strong>nomenusel</strong></td><td><p>Hovering over a sub-folder will expand it, while single-clicking will navigate to it. Also forces empty folders to be hidden, even if <strong>showempty</strong> is also specified.</p><p><em>Example:</em> <code>Go C: FOLDERCONTENT=nomenusel</code></p></td></tr><tr><td></td><td></td><td><strong>dblclickmenu</strong></td><td><p>For folders with sub-items, both hovering and single-clicking will expand their sub-menus, while double-clicking will navigate to them. For folders without sub-items, a single-click will be enough to navigate to them.</p><p><em>Example:</em> <code>Go C: FOLDERCONTENT=dblclickmenu</code></p></td></tr><tr><td></td><td></td><td><strong>norecurse</strong></td><td><p>Prevents sub-folders in the generated list from being expanded; the list will be limited to a single folder level (although sub-folders will still be displayed, you will not be able to expand them).</p><p><em>Example:</em> <code>Go C: FOLDERCONTENT=norecurse</code></p></td></tr><tr><td></td><td></td><td><strong>noparselinks</strong></td><td><p>Prevents shortcuts from being resolved. Without this, a shortcut to a folder will be expandable just like a normal sub-folder.</p><p><em>Example:</em> <code>Go /profile FOLDERCONTENT=noparselinks</code></p></td></tr><tr><td></td><td></td><td><strong>nocontext</strong></td><td><p>Prevents right-clicking items in the list to show their context menus.</p><p><em>Example:</em> <code>Go /profile FOLDERCONTENT=nocontext</code></p></td></tr><tr><td></td><td></td><td><strong>nodirs</strong></td><td><p>Excludes sub-folders from the generated list - only files will be shown.</p><p><em>Example:</em> <code>Go /temp FOLDERCONTENT=nodirs</code></p></td></tr><tr><td></td><td></td><td><strong>nofiles</strong></td><td><p>Excludes files from the generated list - only folders will be shown.</p><p><em>Example:</em> <code>Go C: FOLDERCONTENT=nofiles</code></p></td></tr><tr><td></td><td></td><td><strong>showhidden</strong></td><td><p>Includes hidden files and folders in the list - without this, items with the <strong>H</strong> attribute set will be excluded.</p><p><em>Example:</em> <code>Go C: FOLDERCONTENT=nofiles,showhidden</code></p></td></tr><tr><td></td><td></td><td><strong>showempty</strong></td><td><p>Empty sub-folders will be included in the generated list. Without this, empty sub-folders are excluded.</p><p><em>Example:</em> <code>Go CURRENT FOLDERCONTENT=showempty</code></p></td></tr><tr><td></td><td></td><td><strong>filefilter=</strong><em>&#x3C;pattern></em></td><td><p>Specifies a <a href="../../wildcard_reference/pattern_matching_syntax">wildcard pattern</a> that the names of files must match to be included in the generated list (without this, all files are included).</p><p>Because this keyword requires an embedded equals sign, you must enclose the entire argument value in quotes to avoid confusing the command parser.</p><p><em>Example:</em> <code>Go C: FOLDERCONTENT="filefilter=*.exe"</code></p><p>If you need a comma (,) character within the pattern, put embedded quotes around the pattern as well. The examples below both specify <strong>*,</strong>* as the pattern:</p><p><em>Example:</em> <code>Go C: FOLDERCONTENT="filefilter=""*,*"""</code><br><em>Example:</em> <code>Go C: FOLDERCONTENT="filefilter=""*,*"",nodirs"</code></p></td></tr><tr><td></td><td></td><td><strong>dirfilter=</strong><em>&#x3C;pattern></em></td><td><p>Specifies a <a href="../../wildcard_reference/pattern_matching_syntax">wildcard pattern</a> that folder names must match to be included in the generated list (without this, all folders are included).</p><p>Because this keyword requires an embedded equals sign, you must enclose the entire argument value in quotes to avoid confusing the command parser.</p><p><em>Example:</em> <code>Go C:\Work FOLDERCONTENT="dirfilter=~(.svn)"</code></p><p>If you need a comma (,) character within the pattern, put embedded quotes around the pattern, similar to the <strong>filefilter</strong> examples above.</p></td></tr><tr><td></td><td></td><td><strong>maxfiles=</strong><em>&#x3C;num></em></td><td><p>Specify the maximum number of files to list at each level. If menus for sub-folders are generated, each menu is limited in a similar way.</p><p>Because this keyword requires an embedded equals sign, you must enclose the entire argument value in quotes to avoid confusing the command parser.</p><p><em>Example:</em> <code>Go C: FOLDERCONTENT="maxfiles=5,sortdate"</code></p><p>If you wish to exclude files entirely, it is more efficient to use <strong>nofiles</strong> rather than <strong>maxfiles=0</strong>.</p></td></tr><tr><td></td><td></td><td><strong>maxdirs=</strong><em>&#x3C;num></em></td><td><p>Specify the maximum number of directories to list at each level. If menus for sub-folders are generated, each menu is limited in a similar way.</p><p>Because this keyword requires an embedded equals sign, you must enclose the entire argument value in quotes to avoid confusing the command parser.</p><p><em>Example:</em> <code>Go C: FOLDERCONTENT="maxdirs=10"</code></p><p>If you wish to exclude directories entirely, it is more efficient to use <strong>nodirs</strong> rather than <strong>maxdirs=0</strong>.</p></td></tr><tr><td></td><td></td><td><strong>maxdepth=</strong><em>&#x3C;levels></em></td><td><p>Specify the maximum number of levels deep that sub-folders can be expanded in the generated list.</p><p>Because this keyword requires an embedded equals sign, you must enclose the entire argument value in quotes to avoid confusing the command parser.</p><p><em>Example:</em> <code>Go C: FOLDERCONTENT="maxdepth=10"</code></p></td></tr><tr><td></td><td></td><td><strong>hideext</strong></td><td><p>Do not show the filename extensions for files in the generated list.</p><p><em>Example:</em> <code>Go /mydocuments FOLDERCONTENT=hideext</code></p></td></tr><tr><td></td><td></td><td><strong>sortext</strong></td><td><p>Sorts files in the generated list by file extension.</p><p><em>Example:</em> <code>Go /temp FOLDERCONTENT=nodirs,sortext</code></p></td></tr><tr><td></td><td></td><td><strong>sortsize</strong></td><td><p>Sorts files in the generated list by size.</p><p><em>Example:</em> <code>Go "C:\Program Files" FOLDERCONTENT=sortsize</code></p></td></tr><tr><td></td><td></td><td><strong>sortdate</strong></td><td><p>Sorts files in the generated list by timestamp.</p><p><em>Example:</em> <code>Go /downloads FOLDERCONTENT=sortdate</code></p></td></tr><tr><td></td><td></td><td><strong>sortnone</strong></td><td><p>Do not sort the list at all. Files and folders will still be grouped but, within each group, they will be displayed in the order the operating system returned them. Often be the same as sorting by name, but can result in special or random orders in some folders.</p><p>Useful with the <em>Quick Access</em> folder (renamed <em>Home</em> in later versions of Windows 11), where the order is something you define and usually want preserved anywhere the items are displayed.</p><p><em>Example:</em> <code>Go /quickaccess FOLDERCONTENT=norecurse,nofiles,sortnone</code></p></td></tr><tr><td></td><td></td><td><strong>sortreverse</strong></td><td><p>Reverse the normal sort order of items in the generated list.</p><p><em>Example:</em> <code>Go /downloads FOLDERCONTENT=sortdate,sortreverse</code></p></td></tr><tr><td></td><td></td><td><strong>copy</strong></td><td><p>The generated list is dedicated to copying selected files to the folders shown in the list. This modifies the standard behaviour when you select a sub-folder from the drop-down menu. For example, if you select some files in the current folder, and then choose a sub-folder from the drop-down <code>Go FOLDERCONTENT</code> menu, the files would be copied to that folder.</p><p>Each generated button will run the <strong>Copy</strong> command. You can use the separate <strong>COPYARGS</strong> argument to specify additional <strong>Copy</strong>-command arguments which are included in each generated button.</p><p><em>Example:</em> <code>Go \\NAS\Music FOLDERCONTENT=nofiles,copy</code></p></td></tr><tr><td></td><td></td><td><strong>move</strong></td><td><p>Selecting a sub-folder from the generated list will move selected files to that folder.</p><p><em>Example:</em> <code>Go D:\Archive\Documents FOLDERCONTENT=nofiles,move</code></p></td></tr><tr><td></td><td></td><td><strong>copytosource</strong></td><td><p>Clicking a file or folder in the generated list will copy it into the current folder. (Note that this copy is in the opposite direction to the <strong>copy</strong> and <strong>move</strong> modes discussed just above.)</p><p>This could be useful if you have a folder containing template items which you frequently need to copy into different folders as you move around. To update the list of template items, you would just need to add or remove things (or softlinks to them) to the folder.</p><p><em>Example:</em> <code>Go "C:\My Templates" FOLDERCONTENT=copytosource</code></p><p>Each generated button will run the <strong>Copy</strong> command. You can use the separate <strong>COPYARGS</strong> argument to specify additional <strong>Copy</strong>-command arguments which are included in each generated button.</p><p><em>Example:</em> <code>Go C:\ FOLDERCONTENT=copy COPYARGS COPYFILETIMES=no</code></p><p>There are no separate "move" versions of the "copyto..." keywords, since it seems unlikely they'd be needed, but you can achieve the same thing via the <strong>COPYARGS</strong> argument:</p><p><em>Example:</em> <code>Go C:\ FOLDERCONTENT=copy COPYARGS MOVE</code></p></td></tr><tr><td></td><td></td><td><strong>copytodest</strong></td><td><p>Similar to <strong>copytosource</strong>, except the item you click will be copied to the destination folder rather than the current (source) folder.</p><p><em>Example:</em> <code>Go "C:\Templates" FOLDERCONTENT=copytodest,nodirs</code></p></td></tr><tr><td></td><td></td><td><strong>copytoleft</strong></td><td><p>Similar to <strong>copytosource</strong>, except the item you click will always be copied to the left folder (assuming a dual-display window).</p><p><em>Example:</em> <code>Go "C:\Templates" FOLDERCONTENT=copytoleft</code></p></td></tr><tr><td></td><td></td><td><strong>copytoright</strong></td><td><p>Similar to <strong>copytosource</strong>, except the item you click will always be copied to the right folder (assuming a dual-display window).</p><p><em>Example:</em> <code>Go "C:\Templates" FOLDERCONTENT=copytoright</code></p></td></tr><tr><td></td><td></td><td><strong>useshell</strong></td><td><p>Normally folder paths like <strong>C:\</strong> are enumerated using the native Windows API functions. If you specify the <strong>useshell</strong> keyword, they'll instead be enumerated using the shell (i.e. Explorer). This may give you localized names in some cases, as well as different ordering and different contents.</p><p><em>Example:</em> <code>Go C: FOLDERCONTENT=useshell</code></p></td></tr><tr><td></td><td></td><td><strong>embeddedcmddirs</strong></td><td><p>If an embedded command is specified, applies it to directories as well as files. Otherwise, the embedded command is only applied to files and clicking directories will navigate to them normally.</p><p>//<a href="example://">Example://</a></p><pre><code>Go /home FOLDERCONTENT=embeddedcmddirs
[Copy ARCHIVE=7z TO /desktop CREATEFOLDER "{o|noext}_Backup"]
</code></pre></td></tr><tr><td>FORWARD</td><td>/S</td><td><em>(no value)</em></td><td><p>Navigate to the next folder in the <a href="../../../basic_concepts/the_lister/navigation/recent_and_history_lists">history list</a>.</p><p>You can combine this with arguments that change the target of the navigation, like <strong>NEW</strong>, <strong>NEWTAB</strong>, <strong>OPENINDUAL</strong> etc.</p><p><em>Example:</em> <code>Go FORWARD</code></p></td></tr><tr><td>FORWARDLIST</td><td>/O</td><td><em>(no value)</em></td><td><p>Display a list of all subsequent folders in the history list (acts as a <a href="../../../customize/creating_your_own_buttons/editing_the_toolbar/dynamic_buttons">dynamic button</a>). This is used on the drop-down menu attached to the Forward button on the default toolbar.</p><p><em>Example:</em> <code>Go FORWARDLIST</code></p></td></tr><tr><td></td><td></td><td><strong>namesonly</strong></td><td><p>Display only folder names, not full paths. Tooltips will show full paths when hovering over items.</p><p><em>Example:</em> <code>Go FORWARDLIST=namesonly</code></p></td></tr><tr><td></td><td></td><td><strong>noicons</strong></td><td><p>Does not display icons on the generated history list.</p><p><em>Example:</em> <code>Go FORWARDLIST=noicons</code></p></td></tr><tr><td></td><td></td><td><strong>keys</strong></td><td><p>Assigns the accelerator keys <strong>0</strong> through <strong>9</strong> to the first ten items displayed on the generated history list.</p><p><em>Example:</em> <code>Go FORWARDLIST=noicons,keys</code></p></td></tr><tr><td></td><td></td><td><strong>sort</strong></td><td><p>Sorts the history list alphabetically instead of in chronological order.</p><p><em>Example:</em> <code>Go FORWARDLIST=sort</code></p></td></tr><tr><td>FROMSEL</td><td>/S</td><td><em>(no value)</em></td><td><p>Indicates the first selected folder in the source file display. This argument is used to open the selected folder (in the current file display, another tab, a new Lister, etc).</p><p><em>Example:</em> <code>Go FROMSEL NEW</code></p></td></tr><tr><td>FTP</td><td>/S</td><td><em>(no value)</em></td><td><p>Displays the <a href="../../../ftp/ftp_connect"><strong>FTP Connect</strong></a> dialog, allowing you to make an ad-hoc connection to an FTP site.</p><p><em>Example:</em> <code>Go FTP</code></p></td></tr><tr><td>FTPCMD</td><td>/K/R</td><td><em>&#x3C;command></em></td><td><p>Sends a raw command to the remote FTP server (when currently viewing an FTP directory). If no FTP site is currently connected the command has no effect. The effects of the command, if any, can be viewed in the <a href="../../../ftp/ftp_log">FTP log</a>.</p><p><em>Example:</em> <code>Go FTPCMD chmod * 755</code></p></td></tr><tr><td>FTPSITE</td><td>/K</td><td><em>&#x3C;site name></em></td><td><p>Connect to an FTP site listed in the <a href="../../../ftp/ftp_address_book">FTP address book</a>. The site must be specified by name, and if the site is in a sub-folder of the address book you must include the complete path of the entry. The <strong>FTPSITE</strong> argument is the equivalent of prefixing the site entry name with <strong>@</strong> in the <strong>PATH</strong> argument.</p><p><em>Example:</em> <code>Go FTPSITE "Work Servers\Dallas\Production"</code></p></td></tr><tr><td>FTPSITEICONS</td><td>/S</td><td><em>(no value)</em></td><td><p>In conjunction with the <strong>FTPSITELIST</strong> argument, displays icons for all sites in the list generated by the command.</p><p><em>Example:</em> <code>Go FTPSITELIST FTPSITEICONS</code></p></td></tr><tr><td>FTPSITELIST</td><td>/O</td><td><em>(no value)</em></td><td><p>Displays a list of the sites in the <a href="../../../ftp/ftp_address_book">FTP address book</a>(acts as a <a href="../../../customize/creating_your_own_buttons/editing_the_toolbar/dynamic_buttons">dynamic button</a>).</p><p><em>Example:</em> <code>Go FTPSITELIST</code></p></td></tr><tr><td></td><td></td><td><em>&#x3C;site prefix></em></td><td><p>Displays the FTP site list starting from a specified sub-folder of the address book.</p><p><em>Example:</em> <code>Go FTPSITELIST "Work Servers"</code></p></td></tr><tr><td>GROUPCOLLAPSE</td><td>/K</td><td><em>&#x3C;group name></em></td><td><p>When the file display is <a href="../../../basic_concepts/sorting_and_grouping">grouped</a>, this command can be used to collapse a specified group. The group name must match exactly, but you can also use a <a href="../../wildcard_reference/pattern_matching_syntax">wildcard pattern</a> to collapse all groups matching that pattern.</p><p><em>Example:</em> <code>Go GROUPCOLLAPSE</code> *</p></td></tr><tr><td>GROUPEXPAND</td><td>/K</td><td><em>&#x3C;group name></em></td><td><p>Expand a specified file group. The group name must match exactly, but you can also use a <a href="../../wildcard_reference/pattern_matching_syntax">wildcard pattern</a> to expand all groups matching that pattern.</p><p><em>Example:</em> <code>Go GROUPEXPAND</code> *</p></td></tr><tr><td>HEADING</td><td>/O</td><td><em>(no value)</em></td><td><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>Go DRIVEBUTTONS HEADING</code></p></td></tr><tr><td></td><td></td><td><em>&#x3C;heading text></em></td><td><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>Go DRIVEBUTTONS HEADING="List of Drive Buttons"</code></p></td></tr><tr><td>HISTORYLIST</td><td>/O</td><td><em>(no value)</em></td><td><p>Display the contents of the history list (acts as a <a href="../../../customize/creating_your_own_buttons/editing_the_toolbar/dynamic_buttons">dynamic button</a>). This is a combination of the previous (<strong>BACKLIST</strong>) and subsequent (<strong>FORWARDLIST</strong>) folders.</p><p><em>Example:</em> <code>Go HISTORYLIST</code></p></td></tr><tr><td></td><td></td><td><strong>namesonly</strong></td><td><p>Display only folder names, not full paths. Tooltips will show full paths when hovering over items.</p><p><em>Example:</em> <code>Go HISTORYLIST=namesonly</code></p></td></tr><tr><td></td><td></td><td><strong>noicons</strong></td><td><p>Does not display icons on the generated history list.</p><p><em>Example:</em> <code>Go HISTORYLIST=noicons</code></p></td></tr><tr><td></td><td></td><td><strong>keys</strong></td><td><p>Assigns the accelerator keys <strong>0</strong> through <strong>9</strong> to the first ten items displayed on the generated history list.</p><p><em>Example:</em> <code>Go HISTORYLIST=noicons,keys</code></p></td></tr><tr><td></td><td></td><td><strong>sort</strong></td><td><p>Sorts the history list alphabetically instead of in chronological order.</p><p><em>Example:</em> <code>Go HISTORYLIST=sort</code></p></td></tr><tr><td>INITIALDIR</td><td>/S</td><td><em>(no value)</em></td><td><p>Returns the file display to the very first folder that it read.</p><p><em>Example:</em> <code>Go INITIALDIR</code></p></td></tr><tr><td>KEYARGS</td><td>/K/M</td><td><em>&#x3C;qualifier:arguments> ...</em></td><td><p>Provides an alternate way to modify the behaviour of the <strong>Go</strong> command depending on which qualifier keys are held down (instead of using the <strong>@keydown</strong> <a href="../../../customize/creating_your_own_buttons/command_modifiers">command modifier</a>). This is a multiple value argument - for each qualifier key combination listed, you can define a separate set of arguments that will be used when command is run and that key combination is held.</p><p>For example, you could configure a <strong>Go</strong> button to open a folder in a new tab by default, but in a new Lister if the <strong>Control</strong> key were held down.</p><p>The qualifier part of the value consists of one or more keywords that represent the qualifier keys - <strong>ctrl</strong>, <strong>shift</strong> and <strong>alt</strong>. These can be combined, for example <strong>ctrlshift</strong> means that both the <strong>Control</strong> and <strong>Shift</strong> keys must be held down. You can also use the keyword <strong>none</strong> to indicate arguments that are applied when no qualifiers are held.</p><p><em>Example:</em> <code>Go FROMSEL KEYARGS "ctrl:NEW" "none:NEWTAB=findexisting"</code></p></td></tr><tr><td>LASTACTIVELISTER</td><td>/S</td><td><em>(no value)</em></td><td><p>Brings the most recently active Lister to the front. If there is no valid Lister currently open, any other arguments provided to the command are used instead. So for example, you could have a global hotkey that brings the previous Lister to the front, or opens a new one if no Lister is open.</p><p><em>Example:</em> <code>Go LASTACTIVELISTER NEW</code></p></td></tr><tr><td>LASTCRUMB</td><td>/S</td><td><em>(no value)</em></td><td><p>If the file display has a <a href="../../../basic_concepts/the_lister/navigation/file_display_border/breadcrumbs_location_field">breadcrumbs location field</a> associated with it, and a ghost path is currently shown, this command will go to the last "crumb" in the ghost path.</p><p><em>Example:</em> <code>Go LASTCRUMB</code></p></td></tr><tr><td>LAYOUT</td><td>/K</td><td><em>&#x3C;layout name></em></td><td><p>Opens the folder in a new Lister loaded from the specified <a href="../../../basic_concepts/the_lister/layouts">layout</a>. If the layout contains more than one Lister, only the first Lister is used. The other arguments of the <strong>Go</strong> command can be used to override the settings in the layout.</p><p><em>Example:</em> <code>Go FROMSEL LAYOUT=Pictures VIEW=details</code></p></td></tr><tr><td>NAME</td><td>/K</td><td><em>&#x3C;name></em></td><td><p>Specifies a name to save or load the folder tree expansion. Use with <strong>REMEMBERTREEEXPANSION</strong> and <strong>RESTORETREEEXPANSION</strong>.</p><p><em>Example:</em> <code>Go REMEMBERTREEEXPANSION NAME=CurrentJob</code></p></td></tr><tr><td>NEW</td><td>/O</td><td><em>(no value)</em></td><td><p>Opens a new Lister. The <a href="../../../basic_concepts/the_lister/the_default_lister">Default Lister</a> settings are used for the newly opened Lister, although the various other arguments for the <strong>Go</strong> command can be used to override the settings of the Default Lister.</p><p><em>Example:</em> <code>Go C:\ NEW</code></p></td></tr><tr><td></td><td></td><td><em>&#x3C;x>,&#x3C;y>,&#x3C;w>,&#x3C;h></em></td><td><p>Specify the position and size of the new Lister window. <em>&#x3C;x></em> and <em>&#x3C;y></em> represent the left and top edge coordinates of the window, and <em>&#x3C;w></em> and <em>&#x3C;h></em> the width and height.</p><p><em>Example:</em> <code>Go NEW 240,300,640,480</code></p></td></tr><tr><td></td><td></td><td><strong>max</strong></td><td><p>Maximize the new Lister window. You can use the <em>&#x3C;x></em> and <em>&#x3C;y></em> parameters to control which monitor the window appears maximized on.</p><p><em>Example:</em> <code>Go NEW -1024,0,max</code></p></td></tr><tr><td></td><td></td><td><strong>min</strong></td><td><p>Minimize the new Lister window. If a size and position is specified as well, it will represent the restored position once you un-minimize (restore) the Lister.</p><p><em>Example:</em> <code>Go NEW 1800,50,1024,768,min</code></p></td></tr><tr><td></td><td></td><td><strong>norm</strong></td><td><p>The new Lister window is to be neither minimized nor maximized. Use this to override if the Default Lister is maximized, for example.</p><p><em>Example:</em> <code>Go NEW norm</code></p></td></tr><tr><td></td><td></td><td><strong>source</strong></td><td><p>Set the new Lister to be the current source.</p><p><em>Example:</em> <code>Go FROMSEL NEW=source</code></p></td></tr><tr><td></td><td></td><td><strong>dest</strong></td><td><p>Set the new Lister to be the destination.</p><p><em>Example:</em> <code>Go C:\Backup NEW=dest</code></p></td></tr><tr><td></td><td></td><td><strong>lockoff</strong></td><td><p>The new Lister will be set as "off" - neither <a href="../../../basic_concepts/source_and_destination">source nor destination</a>.</p><p><em>Example:</em> <code>Go NEW=off</code></p></td></tr><tr><td></td><td></td><td><strong>tree</strong></td><td><p>Opens the folder tree in the new Lister.</p><p><em>Example:</em> <code>Go C:\Windows NEW=tree</code></p></td></tr><tr><td></td><td></td><td><strong>notree</strong></td><td><p>Does not open the folder tree in the new Lister.</p><p><em>Example:</em> <code>Go NEW=0,0,640,480,notree</code></p></td></tr><tr><td></td><td></td><td><strong>dual</strong></td><td><p>Open the new Lister in <a href="../../../basic_concepts/the_lister/dual_display">dual-display</a> mode, taking the vertical or horizontal layout from the Default Lister.</p><p>``Go NEW=dual C:\ DUALPATH D:\`</p></td></tr><tr><td></td><td></td><td><strong>dualhoriz</strong></td><td><p>Opens the new Lister in dual-display mode, laid out horizontally.</p><p><em>Example:</em> <code>Go NEW=dualhoriz FROMSEL</code></p></td></tr><tr><td></td><td></td><td><strong>dualvert</strong></td><td><p>Open the new Lister in <a href="../../../basic_concepts/the_lister/dual_display">dual-display</a> mode, laid out vertically.</p><p>``Go NEW=dualvert C:\ DUALPATH D:\`</p></td></tr><tr><td></td><td></td><td><strong>nodual</strong></td><td><p>Opens the new Lister in single-display mode.</p><p><em>Example:</em> <code>Go NEW=nodual</code></p></td></tr><tr><td></td><td></td><td><strong>viewpane</strong></td><td><p>Displays the <a href="../../../basic_concepts/the_lister/viewer_pane">viewer pane</a> in the new Lister.</p><p><em>Example:</em> <code>Go NEW=viewpane</code></p></td></tr><tr><td></td><td></td><td><strong>noviewpane</strong></td><td><p>Does not display the viewer pane in the new Lister.</p><p><em>Example:</em> <code>Go NEW=noviewpane,notree</code></p></td></tr><tr><td></td><td></td><td><strong>findpanel</strong></td><td><p>Displays the <a href="../../../basic_concepts/the_lister/utility_panel">utility panel</a> in Find Files mode in the new Lister. The panel will open in its Simple or Advanced state, depending on which was used the last time the panel was closed.</p><p><em>Example:</em> <code>Go CURRENT NEW=findpanel</code></p></td></tr><tr><td></td><td></td><td><strong>findsimple</strong></td><td><p>Displays the <a href="../../../basic_concepts/the_lister/utility_panel">utility panel</a> in Find Files (Simple) mode in the new Lister.</p><p><em>Example:</em> <code>Go CURRENT NEW=findsimple</code></p></td></tr><tr><td></td><td></td><td><strong>findadvanced</strong></td><td><p>Displays the <a href="../../../basic_concepts/the_lister/utility_panel">utility panel</a> in Find Files (Advanced) mode in the new Lister.</p><p><em>Example:</em> <code>Go CURRENT NEW=findadvanced</code></p></td></tr><tr><td></td><td></td><td><strong>syncpanel</strong></td><td><p>Displays the utility panel in Synchronize mode in the new Lister.</p><p><em>Example:</em> <code>Go {sourcepath} DUALPATH {destpath} NEW=syncpanel</code></p></td></tr><tr><td></td><td></td><td><strong>dupepanel</strong></td><td><p>Displays the utility panel in Duplicate File Finder mode in the new Lister.</p><p><em>Example:</em> <code>Go {sourcepath} NEW=dupepanel</code></p></td></tr><tr><td></td><td></td><td><strong>noutilitypanel</strong></td><td><p>Do not display the utility panel in the new Lister.</p><p><em>Example:</em> <code>Go NEW=noutilitypanel</code></p></td></tr><tr><td></td><td></td><td><strong>metapane</strong></td><td><p>Displays the <a href="../../../basic_concepts/the_lister/metadata_pane">metadata pane</a> in the new Lister.</p><p><em>Example:</em> <code>Go NEW=metapane</code></p></td></tr><tr><td></td><td></td><td><strong>nometapane</strong></td><td><p>Does not display the metadata pane.</p><p><em>Example:</em> <code>Go NEW=nometapane,noutilitypanel,noviewpane,notree,nodual</code></p></td></tr><tr><td>NEWTAB</td><td>/O</td><td><em>(no value)</em></td><td><p>Opens a new <a href="../../../basic_concepts/the_lister/tabs">folder tab</a>. If no path is specified (e.g. via the <strong>PATH</strong> argument) then an empty tab is opened, otherwise the specified path will be loaded into the new tab. You can use the <strong>TABPOS</strong> argument to control where the newly-opened tab is positioned.</p><p><em>Example:</em> <code>Go C:\ NEWTAB</code></p></td></tr><tr><td></td><td></td><td><strong>deflister</strong></td><td><p>If the command is run without a Lister then the Default Lister will open along with a new tab for the specified folder. If a Lister already exists then a new tab for the specified folder will open normally in the existing Lister.</p><p><em>Example:</em> <code>Go C:\ NEWTAB=deflister,findexisting</code></p></td></tr><tr><td></td><td></td><td><strong>findexisting</strong></td><td><p>Look for the specified path in existing tabs. If found, the existing tab will be brought to the front; otherwise a new tab will be opened. The active tab is checked first, and nothing will happen if the active tab already displays the specified path.</p><p><em>Example:</em> <code>Go CURRENT NEWTAB=findexisting OPENINDUAL</code></p><p>In some situations, <strong>findexisting</strong> is the default behavior, and <strong>nofindexisting</strong> can be used to suppress it.</p></td></tr><tr><td></td><td></td><td><strong>findinactive</strong></td><td><p>Like <strong>findexisting</strong>, except that if the active tab already has the specified path then a new tab will be opened. Intended for buttons which switch to existing tabs to reduce clutter while retaining the ability to open a second tab for the same folder when needed.</p><p><em>Example:</em> <code>Go "C:\Program Files" NEWTAB=findinactive</code></p></td></tr><tr><td></td><td></td><td><strong>nofindexisting</strong></td><td><p>Explicitly suppresses the <strong>findexisting</strong> behavior described above. The default for most commands it to not look for existing tabs, but some (e.g. <code>Go OPENCONTAINER NEWTAB</code>) will look for existing tabs unless explicitly told not to.</p><p><em>Example:</em> <code>Go OPENCONTAINER NEWTAB=nofindexisting</code></p></td></tr><tr><td></td><td></td><td><strong>nofocus</strong></td><td><p>The new tab will not be made active.</p><p><em>Example:</em> <code>Go CURRENT NEWTAB=nofocus</code></p></td></tr><tr><td></td><td></td><td><strong>tofront</strong></td><td><p>Brings the Lister to the front. This is useful when opening a tab in another window.</p><p><em>Example:</em> <code>Go CURRENT NEWTAB=tofront OPENINDEST</code></p></td></tr><tr><td>NEXTCRUMB</td><td>/S</td><td><em>(no value)</em></td><td><p>If the file display has a <a href="../../../basic_concepts/the_lister/navigation/file_display_border/breadcrumbs_location_field">breadcrumbs location field</a> associated with it, and a ghost path is currently shown, this command will go to the next "crumb" in the ghost path.</p><p><em>Example:</em> <code>Go NEXTCRUMB</code></p></td></tr><tr><td>NOSCRIPT</td><td>/S</td><td><em>(no value)</em></td><td>Allows a <a href="../../../scripting">script</a> to run <strong>Go</strong> commands without triggering other scripts (or itself). Adding the <strong>NOSCRIPT</strong> argument disables the <a href="../../scripting_reference/scripting_events/onbeforefolderchange"><strong>OnBeforeFolderChange</strong></a>, <a href="../../scripting_reference/scripting_events/onafterfolderchange"><strong>OnAfterFolderChange</strong></a>, <a href="../../scripting_reference/scripting_events/onopentab"><strong>OnOpenTab</strong></a> and <a href="../../scripting_reference/scripting_events/onopenlister"><strong>OnOpenLister</strong></a> events that would otherwise be triggered by the command.</td></tr><tr><td>OPENCONTAINER</td><td>/O</td><td><em>(no value)</em></td><td><p>Opens the container (parent folder) of the selected item. In normal folders this is not that useful (since the parent of the selected item is the folder you're already in), but in <a href="../../../basic_concepts/virtual_file_system/file_collections">file collections</a>, <a href="../../../basic_concepts/virtual_file_system/libraries">libraries</a> and <a href="../../../basic_concepts/flat_view">flat view</a> it lets you quickly go to the actual folder where a file is located.</p><p>This command also works when multiple items are selected and may cause multiple windows or tabs to open if the selected items come from multiple containers.</p><p>This command is used on the default collection item context menu.</p><p><em>Example:</em> <code>Go OPENCONTAINER</code></p><p>When combined with the <strong>NEWTAB</strong> argument, existing tabs are searched for automatically, without having to explicitly use <strong>NEWTAB=findexisting</strong>. If you want a new tab to open all the time, ignoring any existing tabs for the same folder, then you can use <strong>NEWTAB=nofindexisting</strong>.</p><p><em>Example:</em> <code>Go OPENCONTAINER NEWTAB=nofindexisting</code></p></td></tr><tr><td></td><td></td><td><strong>target</strong></td><td><p>Dereferences a shortcut or junction. This is similar to the <em>Find Target</em> button in the system Properties dialog for shortcuts. When you run this command with a shortcut selected, the folder containing the target of the shortcut will be loaded and the target itself will be automatically selected (unless <strong>noselect</strong> is also given; see below). Similarly, if a junction is selected, you'll be taken the parent of its target and its target will be selected. If the selected item is neither a shortcut nor a junction then the command functions the same as if <strong>target</strong> had not been specified.</p><p><em>Example:</em> <code>Go OPENCONTAINER=target NEW</code></p></td></tr><tr><td></td><td></td><td><strong>noselect</strong></td><td><p>Normally, the item or items in question are selected and made visible in the containing folder. Specifying this argument prevents the selection and just opens the containing folder.</p><p><em>Example:</em> <code>Go OPENCONTAINER=target,noselect NEWTAB</code></p></td></tr><tr><td>OPENINDEST</td><td>/S</td><td><em>(no value)</em></td><td><p>The specified folder will be read into the destination file display. If the current Lister is not in dual-display mode, then it could mean the folder is read into another Lister altogether. You can combine this with <strong>NEWTAB</strong> to open tabs in the destination.</p><p><em>Example:</em> <code>Go CURRENT OPENINDEST</code></p></td></tr><tr><td>OPENINDUAL</td><td>/O</td><td><em>(no value)</em></td><td><p>The specified folder will be read into the destination file display in a dual-display Lister. The difference between this argument and <strong>OPENINDEST</strong> is that this will force a single-display Lister into dual-display mode if it is not in that mode already. The default layout (horizontal or vertical) will be used in this case.</p><p><em>Example:</em> <code>Go CURRENT OPENINDUAL</code></p></td></tr><tr><td></td><td></td><td><strong>horiz</strong></td><td><p>Force the layout of the dual-display Lister to horizontal (one display above the other).</p><p><em>Example:</em> <code>Go C:\Windows OPENINDUAL=horiz</code></p></td></tr><tr><td></td><td></td><td><strong>vert</strong></td><td><p>Force the layout to vertical (side-by-side displays).</p><p><em>Example:</em> <code>Go CURRENT NEWTAB OPENINDUAL=vert</code></p></td></tr><tr><td>OPENINLEFT</td><td>/S</td><td><em>(no value)</em></td><td><p>Reads the specified folder into the left-hand (or top) file display in a dual-display Lister. In a single-display Lister, this argument has no effect (the folder will be read into the single display as normal).</p><p><em>Example:</em> <code>Go {rightpath} OPENINLEFT</code></p></td></tr><tr><td>OPENINRIGHT</td><td>/O</td><td><em>(no value)</em></td><td><p>Reads the specified folder into the right-hand (or bottom) file display in a dual-display Lister. If the current Lister is not already in dual-display mode it will be set to that mode automatically. The default layout (horizontal or vertical) will be used in this case.</p><p><em>Example:</em> <code>Go {leftpath} OPENINRIGHT</code></p></td></tr><tr><td></td><td></td><td><strong>horiz</strong></td><td><p>Force the layout of the dual-display Lister to horizontal (one display above the other).</p><p><em>Example:</em> <code>Go C:\Windows OPENINRIGHT=horiz</code></p></td></tr><tr><td></td><td></td><td><strong>vert</strong></td><td><p>Force the layout to vertical (side-by-side displays).</p><p><em>Example:</em> <code>Go {leftpath} NEWTAB OPENINRIGHT=vert</code></p></td></tr><tr><td>PATH</td><td></td><td><em>(no value)</em></td><td><p>Specify the path to read (or in conjunction with the <strong>FOLDERCONTENT</strong> argument, the path to display the contents of).</p><p>Opus supports paths in many formats, for example:</p><ul><li>An absolute path like <em>C:\Windows</em></li><li>A relative path like ..\. (goes up two levels from the current folder)</li><li>A virtual filesystem <a href="../../../basic_concepts/virtual_file_system">URL-style path</a> (e.g. <em>ftp://ftp.microsoft.com</em> or <em>lib://Documents</em>)</li><li>An FTP <a href="../../../ftp/ftp_paths">address-book shortcut</a> (e.g. <em>@MyFtpSite</em>)</li><li>A <a href="../../../basic_concepts/the_lister/navigation/aliases">folder alias</a> like <em>/mydocuments</em></li><li>An environment variable like <em>%USERPROFILE%</em></li><li>An <a href="../external_control_codes">external control code</a> like <strong>{sourcepath}</strong></li><li>A file URI like <a href="file:///C:/Temp"><strong>file:///C:/Temp</strong></a>. This is the default argument for the <strong>Go</strong> command and so you do not need to specify the <strong>PATH</strong> keyword. Remember that if the path contains spaces it needs to be enclosed in quotes.</li></ul><p><em>Example:</em> <code>Go "C:\Program Files\GPSoftware\Directory Opus"</code></p></td></tr><tr><td>PATHENTRY</td><td>/O</td><td><em>(no value)</em></td><td><p>Displays the <a href="../../../basic_concepts/the_lister/find-as-you-type_field">find-as-you-type</a> field in a special mode ("go" mode) that lets you navigate to another folder in the current file display. This command is equivalent to <a href="cli"><strong>CLI</strong></a> <strong>QUICKGO</strong>.</p><p><em>Example:</em> <code>Go PATHENTRY</code></p></td></tr><tr><td></td><td></td><td><strong>dest</strong></td><td><p>The "Go" field will act on the destination file display rather than the source. Note that it will still appear at the bottom of the source file display, but once you press <strong>Enter</strong> the folder will be read into the destination.</p><p><em>Example:</em> <code>Go PATHENTRY=dest</code></p></td></tr><tr><td></td><td></td><td><strong>left</strong></td><td><p>The "Go" field will act on the left-hand file display, whether it is the source or destination.</p><p><em>Example:</em> <code>Go PATHENTRY=left</code></p></td></tr><tr><td></td><td></td><td><strong>right</strong></td><td><p>The "Go" field will act on the right-hand file display.</p><p><em>Example:</em> <code>Go PATHENTRY=right</code></p></td></tr><tr><td>REBUILDTREE</td><td>/O</td><td><em>(no value)</em></td><td><p>Rebuilds the contents of the folder tree attached to the source file display. This is the equivalent of turning the tree off and then back on again.</p><p><em>Example:</em> <code>Go REBUILDTREE</code></p></td></tr><tr><td></td><td></td><td><strong>dest</strong></td><td><p>Rebuilds the folder tree attached to the destination file display (when dual trees are enabled).</p><p><em>Example:</em> <code>Go REBUILDTREE=dest</code></p></td></tr><tr><td></td><td></td><td><strong>left</strong></td><td><p>Rebuilds the folder tree attached to the left/top file display.</p><p><em>Example:</em> <code>Go REBUILDTREE=left</code></p></td></tr><tr><td></td><td></td><td><strong>right</strong></td><td><p>Rebuilds the folder tree attached to the right/bottom file display (when dual trees are enabled).</p><p><em>Example:</em> <code>Go REBUILDTREE=right</code></p></td></tr><tr><td></td><td></td><td><strong>both</strong></td><td><p>Rebuilds both folder trees (or the single tree, whichever is applicable).</p><p><em>Example:</em> <code>Go REBUILDTREE=both</code></p></td></tr><tr><td>REFRESH</td><td>/O</td><td><em>(no value)</em></td><td><p>Refresh the display of the current folder in the source file display.</p><p><em>Example:</em> <code>Go REFRESH</code></p></td></tr><tr><td></td><td></td><td><strong>tree</strong></td><td><p>Refresh the folder tree.</p><p><em>Example:</em> <code>Go REFRESH=tree</code></p></td></tr><tr><td></td><td></td><td><strong>both</strong></td><td><p>Refresh both file displays in a dual-display Lister.</p><p><em>Example:</em> <code>Go REFRESH=both</code></p></td></tr><tr><td></td><td></td><td><strong>all</strong></td><td><p>Refresh both file displays and folder trees.</p><p><em>Example:</em> <code>Go REFRESH=all</code></p></td></tr><tr><td></td><td></td><td><strong>source</strong></td><td><p>Refresh the source file display and its tree.</p><p><em>Example:</em> <code>Go REFRESH=source</code></p></td></tr><tr><td></td><td></td><td><strong>dest</strong></td><td><p>Refresh the destination file display and its tree.</p><p><em>Example:</em> <code>Go REFRESH=dest</code></p></td></tr><tr><td></td><td></td><td><strong>viewpane</strong></td><td><p>Refresh the <a href="../../../basic_concepts/the_lister/viewer_pane">viewer pane</a>. The image or file currently displayed in the pane will be reloaded.</p><p><em>Example:</em> <code>Go REFRESH=viewpane</code></p></td></tr><tr><td></td><td></td><td><strong>left</strong></td><td><p>Refresh the left-hand file display.</p><p><em>Example:</em> <code>Go REFRESH=left</code></p></td></tr><tr><td></td><td></td><td><strong>right</strong></td><td><p>Refresh the right-hand file display.</p><p><em>Example:</em> <code>Go REFRESH=right</code></p></td></tr><tr><td>REFRESHTHUMBS</td><td>/O</td><td><em>(no value)</em></td><td><p>Refreshes thumbnails displayed in the current folder. If thumbnail caching is enabled the cache for the current folder is cleared, forcing thumbnails to be regenerated.</p><p><em>Example:</em> <code>Go REFRESHTHUMBS</code></p></td></tr><tr><td></td><td></td><td><strong>shift</strong></td><td><p>Refreshes thumbnails only if the <strong>Shift</strong> key is held down. This lets you combine a normal folder refresh with a thumbnail refresh on the one command - it could perform an ordinary folder refresh by default, and also force the regeneration of thumbnails with the <strong>Shift</strong> key held down.</p><p><em>Example:</em> <code>Go REFRESH REFRESHTHUMBS=shift</code></p></td></tr><tr><td></td><td></td><td><strong>alt</strong></td><td><p>Refresh thumbnails only if the <strong>Alt</strong> key is held down.</p><p><em>Example:</em> <code>Go REFRESHTHUMBS=alt</code></p></td></tr><tr><td></td><td></td><td><strong>ctrl</strong></td><td><p>Refresh thumbnails only if the <strong>Control</strong> key is held down.</p><p><em>Example:</em> <code>Go REFRESHTHUMBS=ctrl REFRESH=all</code></p></td></tr><tr><td>REMEMBERTREEEXPANSION</td><td>/O</td><td><em>(no value)</em></td><td><p>Remembers the current expansion state of the source folder tree. Once the state has been remembered, you can restore it later on with <strong>RESTORETREEEXPANSION</strong>.</p><p>By default the expansion state is just remembered for the lifetime of the Lister. If used with the <strong>NAME</strong> argument the expansion will be saved under that name and can be restored at any time in the future.</p><p><em>Example:</em> <code>Go REMEMBERTREEEXPANSION</code></p></td></tr><tr><td></td><td></td><td><strong>dest</strong></td><td><p>Remembers the expansion state of the folder tree attached to the destination file display (when dual trees are enabled).</p><p><em>Example:</em> <code>Go REMEMBERTREEEXPANSION=dest</code></p></td></tr><tr><td></td><td></td><td><strong>left</strong></td><td><p>Remembers the expansion state of the folder tree attached to the left/top file display.</p><p><em>Example:</em> <code>Go REMEMBERTREEEXPANSION=left</code></p></td></tr><tr><td></td><td></td><td><strong>right</strong></td><td><p>Remembers the expansion state of the folder tree attached to the right/bottom file display (when dual trees are enabled).</p><p><em>Example:</em> <code>Go REMEMBERTREEEXPANSION=right</code></p></td></tr><tr><td></td><td></td><td><strong>both</strong></td><td><p>Remembers the expansion state of both folder trees (or the single tree, whichever is applicable).</p><p><em>Example:</em> <code>Go REMEMBERTREEEXPANSION=both</code></p></td></tr><tr><td>RESTORETREEEXPANSION</td><td>/O</td><td><em>(no value)</em></td><td><p>Restores the expansion state of the source folder tree that was previously remembered with <strong>REMEMBERTREEEXPANSION</strong>.</p><p>Combine with the <strong>NAME</strong> argument to restore a saved expansion.</p><p><em>Example:</em> <code>Go RESTORETREEEXPANSION NAME=CurrentJob</code></p></td></tr><tr><td></td><td></td><td><strong>dest</strong></td><td><p>Restores the expansion state of the folder tree attached to the destination file display (when dual trees are enabled).</p><p><em>Example:</em> <code>Go RESTORETREEEXPANSION=dest</code></p></td></tr><tr><td></td><td></td><td><strong>left</strong></td><td><p>Restores the expansion state of the folder tree attached to the left/top file display.</p><p><em>Example:</em> <code>Go RESTORETREEEXPANSION=left</code></p></td></tr><tr><td></td><td></td><td><strong>right</strong></td><td><p>Restores the expansion state of the folder tree attached to the right/bottom file display (when dual trees are enabled).</p><p><em>Example:</em> <code>Go RESTORETREEEXPANSION=right</code></p></td></tr><tr><td></td><td></td><td><strong>both</strong></td><td><p>Restores the expansion state of both folder trees (or the single tree, whichever is applicable).</p><p><em>Example:</em> <code>Go RESTORETREEEXPANSION=both</code></p></td></tr><tr><td></td><td></td><td><strong>reset</strong></td><td><p>Resets the expansion of the tree to its initial state. Can be combined with the above keywords.</p><p><em>Example:</em> <code>Go RESTORETREEEXPANSION=both,reset</code></p></td></tr><tr><td>ROOT</td><td>/O</td><td><em>(no value)</em></td><td><p>Navigate to the root of the current folder. For example, the root of <em>C:\Program Files\GPSoftware\Directory Opus</em> is <em>C:</em>.</p><p><em>Example:</em> <code>Go ROOT</code></p></td></tr><tr><td></td><td></td><td><strong>collapse</strong></td><td><p>Collapses the current drive's branch in the folder tree at the same time as navigating to the root folder.</p><p><em>Example:</em> <code>Go ROOT=collapse</code></p></td></tr><tr><td>RUNEMBEDDEDIFNOTFOUND</td><td>/S</td><td><em>(no value)</em></td><td><p>This argument is used when <a href="../../../customize/creating_your_own_buttons/embedded_functions">embedding a function</a> in the <strong>Go FINDTITLE</strong> command. Normally the embedded function will not be run if no Listers exist that match the supplied string. If the <strong>RUNEMBEDDEDIFNOTFOUND</strong> argument is specified, the embedded command will be run in the current Lister if a matching Lister is not found.</p><p><em>Example:</em><br><code>Go FINDTITLE PhotoWork RUNEMBEDDEDIFNOTFOUND [Set VIEW=Thumbnails]</code></p></td></tr><tr><td>SWAP</td><td>/S</td><td><em>(no value)</em></td><td><p>Swaps the folders displayed in the source and destination file displays.</p><p><em>Example:</em> <code>Go SWAP</code></p></td></tr><tr><td>SWITCHPATH</td><td>/K/M</td><td><em>&#x3C;alternate path> ...</em></td><td><p>Switches between (or cycles through) two or more paths. The <strong>PATH</strong> argument is used to provide the first path in the sequence, and then the <strong>SWITCHPATH</strong> argument provides the second and subsequent paths. When you run this command, Opus looks at the current path shown in the source file display. If it matches one of the provided paths, the next path in the sequence is read (and then the next, and then the next, and so on). If the current path does not match one of the provided ones the first path in the sequence is read.</p><p>``Go C:\ SWITCHPATH D:\ E:\ F:\ G:\`</p></td></tr><tr><td>TABCLOSE</td><td>/O</td><td><em>(no value)</em></td><td><p>Close the current <a href="../../../basic_concepts/the_lister/tabs">folder tab</a> in the source file display.</p><p>You can combine this with the <strong>PATH</strong> argument to specify the path of a tab that should be closed. When used in this context the <strong>PATH</strong> argument can accept wildcards - all tabs matching the supplied pattern will be closed.</p><p>The <strong>TABPOS</strong> argument can be used to specify the index (starting from 0) of a specific tab to close, or position relative to the current tab, or the position of the first or last tab. (The <strong>PATH</strong> argument can also be given a specific tab index, but this usage is deprecated in favor of <strong>TABPOS</strong>.)</p><p><em>Examples:</em> Close the current tab: <code>Go TABCLOSE</code><br>Close all tabs showing a drive on C: <code>Go TABCLOSE PATH=C:*</code><br>Close the first tab: <code>Go TABCLOSE TABPOS=first</code><br>Close the last tab: <code>Go TABCLOSE TABPOS=last</code><br>Close the tab after the current tab: <code>Go TABCLOSE TABPOS=+1</code><br>Close the tab before the current tab: <code>Go TABCLOSE TABPOS=-1</code></p><p>When used from a <a href="../../../scripting">script</a>, you can pass the default value of a <a href="../../scripting_reference/scripting_objects/tab"><strong>Tab</strong></a> object to specify the tab you wish to close.</p><p><em>Example:</em> <code>Go TABCLOSE=\&#x3C;tab\></code></p></td></tr><tr><td></td><td></td><td><strong>left</strong></td><td><p>Close a folder tab in the left (or top) file display, irrespective of whether it is the source or not.</p><p><em>Example:</em> <code>Go TABCLOSE=left</code></p></td></tr><tr><td></td><td></td><td><strong>right</strong></td><td><p>Close a folder tab in the right (or bottom) file display.</p><p><em>Example:</em> <code>Go TABCLOSE=right TABPOS=-2</code></p></td></tr><tr><td></td><td></td><td><strong>dest</strong></td><td><p>Close a folder tab in the destination file display.</p><p><em>Example:</em> <code>Go TABCLOSE=dest PATH=C:\\</code></p></td></tr><tr><td></td><td></td><td><strong>force</strong></td><td><p>Close the folder tab even if it is locked and closing individual locked tabs is disabled in Preferences.</p><p><em>Example:</em> <code>Go TABCLOSE=force</code></p><p><em>Example:</em> <code>Go TABCLOSE=dest,force</code></p></td></tr><tr><td>TABCLOSEALL</td><td>/O</td><td><em>(no value)</em></td><td><p>Close all folder tabs except the current one.</p><p>When combined with the <strong>TABGROUPLOAD</strong> command, this overrides the tab group's <em>Close existing Folder Tabs</em> setting, and forces existing tabs to be closed.</p><p><em>Example:</em> <code>Go TABCLOSEALL</code></p></td></tr><tr><td></td><td></td><td><strong>left</strong></td><td><p>Close all folder tabs to the left of the current tab.</p><p><em>Example:</em> <code>Go TABCLOSEALL=left</code></p></td></tr><tr><td></td><td></td><td><strong>right</strong></td><td><p>Close all folder tabs to the right of the current tab.</p><p><em>Example:</em> <code>Go TABCLOSEALL=right</code></p></td></tr><tr><td></td><td></td><td><strong>dest</strong></td><td><p>Lets you close tabs in the destination file display in a dual-display Lister.</p><p><em>Example:</em> <code>Go TABCLOSEALL=dest,right</code></p></td></tr><tr><td></td><td></td><td><strong>force</strong></td><td><p>Forces locked tabs to be closed. Normally locked tabs are not closed by this command.</p><p><em>Example:</em> <code>Go TABCLOSEALL=right,force</code></p></td></tr><tr><td></td><td></td><td><strong>expand</strong></td><td><p>Expands tabs to Listers. The tabs will be closed in the current Lister, and each folder opened as a new Lister.</p><p><em>Example:</em> <code>Go TABCLOSEALL=right,expand</code></p></td></tr><tr><td></td><td></td><td><strong>no</strong></td><td><p>When combined with the <strong>TABGROUPLOAD</strong> command, this overrides the tab group's <em>Close existing Folder Tabs</em> setting, and forces existing tabs to be retained.</p><p>This value has no meaning when not used in conjunction with <strong>TABGROUPLOAD</strong>.</p><p><em>Example:</em> <code>Go TABGROUPLOAD=MyTabs TABCLOSEALL=no</code></p></td></tr><tr><td>TABCOLOR</td><td>/K</td><td><em>&#x3C;color></em></td><td><p>Assigns a custom color to the current tab. You can specify the color in the decimal form R,G,B (e.g. 127,192,55) or the hex form #RRGGBB (e.g. #ff0033).</p><p><em>Example:</em> <code>Go TABCOLOR \#ff8000</code></p></td></tr><tr><td></td><td></td><td><strong>reset</strong></td><td><p>Resets the current tab's color.</p><p><em>Example:</em> <code>Go TABCOLOR=reset</code></p></td></tr><tr><td></td><td></td><td><strong>edit</strong></td><td><p>Initiates editing of the current tab's color. You can use the <strong>PATH</strong> argument to specify the index of a tab to edit (with the left-most being index #0).</p><p><em>Example:</em> <code>Go TABCOLOR=edit</code></p></td></tr><tr><td>TABDUPLICATE</td><td>/O</td><td><em>(no value)</em></td><td><p>Duplicates the current folder tab.</p><p><em>Example:</em> <code>Go TABDUPLICATE</code></p></td></tr><tr><td></td><td></td><td><strong>dual</strong></td><td><p>Creates a duplicate of the current folder tab in the other file display of a dual-display Lister.</p><p><em>Example:</em> <code>Go TABDUPLICATE=dual</code></p></td></tr><tr><td>TABFINDEXISTING</td><td>/S</td><td><em>(no value)</em></td><td><p>If the specified folder is open in another tab Opus will switch to that tab, otherwise the folder will be read into the current tab. Enables similar behavior to the <strong>NEWTAB=findexisting</strong> argument, except that a new tab is not opened if the path is not found.</p><p><em>Example:</em> <code>Go /mydocuments TABFINDEXISTING</code></p></td></tr><tr><td>TABGROUPFORCE</td><td>/S</td><td><em>(no value)</em></td><td><p>Use in conjunction with the <strong>TABGROUPLOAD</strong> or <strong>TABGROUPLIST</strong> arguments to force folders in the loaded tabs to load immediately even if they would normally be blocked by the Auto-Loading settings on the <a href="../../../preferences/preferences_categories/folders/automatic_reading">Automatic Reading</a> page in Preferences.</p><p><em>Example:</em> <code>Go TABGROUPLOAD "My Tab Group" TABGROUPFORCE</code></p></td></tr><tr><td>TABGROUPLIST</td><td>/O</td><td><em>(no value)</em></td><td><p>Displays a list of your saved <a href="../../../basic_concepts/the_lister/tabs/tab_groups">Folder Tab Groups</a> (acts as a <a href="../../../customize/creating_your_own_buttons/editing_the_toolbar/dynamic_buttons">dynamic button</a>). Selecting a group from the list will open those tabs in the current file display.</p><p>This argument works when used in conjunction with the <strong>USEQUALKEYS</strong>, <strong>TABGROUPFORCE</strong> and <strong>KEYARGS</strong> arguments.</p><p><em>Example:</em> <code>Go TABGROUPLIST</code></p></td></tr><tr><td></td><td></td><td><strong>keys</strong></td><td><p>Assigns the accelerator keys <strong>0</strong> through <strong>9</strong> to the first ten items displayed on the generated tab group list.</p><p><em>Example:</em> <code>Go TABGROUPLIST=keys USEQUALKEYS</code></p></td></tr><tr><td></td><td></td><td><strong>icons</strong></td><td><p>Displays icons for items on the generated tab group list.</p><p><em>Example:</em> <code>Go TABGROUPLIST=keys,icons</code></p></td></tr><tr><td></td><td></td><td><strong>nohighlight</strong></td><td><p>Prevents the active tab group from being highlighted.</p><p><em>Example:</em> <code>Go TABGROUPLIST=icons,nohighlight</code></p></td></tr><tr><td></td><td></td><td><strong>savecurrent</strong></td><td><p>Saves the current folder tab group (if any) before loading a new one. Without this, any changes to a tab group will be lost when loading another one, unless you explicitly save them.</p><p>As a special case, clicking the button for the current tab group will reload that group without first saving over it, giving you a way to reset to the group's last saved state.</p><p>If no tab group is currently loaded, nothing will be saved before loading the new tab group.</p><p><em>Example:</em> <code>Go TABGROUPLIST=savecurrent</code></p><p>Note that if you want Opus to save tab groups automatically in this way, you may also want to add something to trigger <strong>Go TABGROUPSAVE=!current,!quiet</strong> when listers close, or on other events such as opening/closing tabs or changing folders, depending on when you want the tab group to be updated. This probably also only makes sense if you only use one lister, since multiple listers may have differnet views of the currently open groups and save over each other. But if you want auto-saving tab groups, you're probably already using a single window all the time, as other people would use separate windows for separate tab groups and switch between windows instead of switching groups in a single window.</p></td></tr><tr><td>TABGROUPLOAD</td><td>/K</td><td><em>&#x3C;group name></em></td><td><p>Loads the named folder tab group. This can be combined with <strong>OPENINDUAL</strong> etc. to open the tab group in another file display. You can also combine the <strong>TABCLOSEALL</strong> argument to override the tab group's <em>Close existing Folder Tabs</em> setting.</p><p><em>Example:</em> <code>Go TABGROUPLOAD "My Tab Group" TABCLOSEALL=no</code></p></td></tr><tr><td>TABGROUPSAVE</td><td>/O</td><td><em>(no value)</em></td><td><p>Save the current set of folder tabs as a new tab group. You will be prompted to provide a name for the group.</p><p><em>Example:</em> <code>Go TABGROUPSAVE</code></p></td></tr><tr><td></td><td></td><td><em>&#x3C;group name></em></td><td><p>Save the current set of folder tabs using the specified group name.</p><p><em>Example:</em> <code>Go TABGROUPSAVE "My Tab Group"</code></p></td></tr><tr><td></td><td></td><td><strong>!both</strong></td><td><p>In a dual-display Lister, this will save the tabs from both file displays to a single group using the "specific sides" option. You can also specify a group name by following the keyword with a comma. (The group name, if any, must come after the keyword and not before.)</p><p><em>Example:</em> <code>Go TABGROUPSAVE="!both,My Tab Group"</code></p></td></tr><tr><td></td><td></td><td><strong>!closeall</strong></td><td><p>Saves the tab group such that it will close all existing tabs when it is loaded (unless overridden at the time of loading). If neither <strong>!closeall</strong> nor <strong>!nocloseall</strong> are specified, saving over an existing group will preserved its mode, new groups created non-interactively will close existing tabs by default, and new groups created interactively will default to the mode used the last time the interactive dialog was displayed. (The group name, if any, must come after the keyword and not before.)</p><p><em>Example:</em> <code>Go TABGROUPSAVE="!both,!closeall,My Tab Group"</code></p></td></tr><tr><td></td><td></td><td><strong>!nocloseall</strong></td><td><p>Saves the tab group such that it will not close any existing tabs when it is loaded (unless overridden at the time of loading). See <strong>!closeall</strong>, above, for more information. (The group name, if any, must come after the keyword and not before.)</p><p><em>Example:</em> <code>Go TABGROUPSAVE="!both,!nocloseall,My Tab Group"</code></p></td></tr><tr><td></td><td></td><td><strong>!current</strong></td><td><p>Saves over the folder tab group which was last loaded. The <strong>!both</strong> keyword is ignored, and instead the mode is inherited from the existing group. Add the <strong>!quiet</strong> keyword to make the command do nothing if there is no current tab group to save over; otherwise you will be prompted for the name of a new group in that situation.</p><p><em>Example:</em> <code>Go TABGROUPSAVE="!current"</code></p></td></tr><tr><td></td><td></td><td><strong>!quiet</strong></td><td><p>Combine <strong>!quiet</strong> with <strong>!current</strong> to prevent being asked to name a new tab group if there isn't one to save over.</p><p><em>Example:</em> <code>Go TABGROUPSAVE="!current,!quiet"</code></p></td></tr><tr><td></td><td></td><td><strong>!unless</strong></td><td><p>Combine <strong>!unless</strong> with <strong>!current</strong> to tell the command to save the current group unless it has a particular name. You probably won't need to use this directly, but it is how the <strong>Go TABGROUPLIST=savecurrent</strong> command avoids saving over the current group if you click its button to reload it.</p><p><em>Example:</em> <code>Go TABGROUPSAVE="!current,!quiet,!unless,My Tab Group"</code></p></td></tr><tr><td></td><td></td><td><strong>!forget</strong></td><td><p>Tells the file display to forget the name of the last tab group it loaded. Combine with <strong>!both</strong> to make both sides of a dual-display lister forget. You may wish to use this if you load a tab group and then modify it to the point that it no longer has any connection to the original group, and you do not want it to remain selected in any tab group lists.</p><p><em>Example:</em> <code>Go TABGROUPSAVE="!forget"</code></p></td></tr><tr><td>TABLINK</td><td>/K</td><td><strong>on</strong></td><td><p>In a dual-display Lister, links the current active tab in the source file display with the current active tab in the destination file display.</p><p><em>Example:</em> <code>Go TABLINK=on</code></p></td></tr><tr><td></td><td></td><td><strong>off</strong></td><td><p>If the currently active tab is linked, this will unlink it.</p><p><em>Example:</em> <code>Go TABLINK=off</code></p></td></tr><tr><td></td><td></td><td><strong>toggle</strong></td><td><p>Toggles tab linking on or off for the currently active tabs in both left and right file displays.</p><p><em>Example:</em> <code>Go TABLINK=toggle</code></p></td></tr><tr><td></td><td></td><td><strong>navlock</strong></td><td><p>Use in conjunction with <strong>on</strong> or <strong>toggle</strong> to specify that the tab is to be linked in <a href="../../../basic_concepts/the_lister/dual_display/navigation_lock">navigation lock</a> mode (so that it follows the other tab whenever the folder is changed).</p><p><em>Example:</em> <code>Go TABLINK=toggle,navlock</code></p></td></tr><tr><td></td><td></td><td>reset</td><td><p>When two tabs are linked in navigation lock mode, the reset keyword lets you reset the sync position to the current locations (for recovering when they get out of sync).</p><p><em>Example:</em> <code>Go TABLINK=reset</code></p></td></tr><tr><td></td><td></td><td><strong>unlinkall</strong></td><td><p>Unlinks all linked tabs in the current Lister.</p><p><em>Example:</em> <code>Go TABLINK=unlinkall</code></p></td></tr><tr><td></td><td></td><td><em>&#x3C;tab1>,&#x3C;tab2></em></td><td><p>When used from a <a href="../../../scripting">script</a>, you can pass the default value of two <a href="../../scripting_reference/scripting_objects/tab"><strong>Tab</strong></a> objects to specify the precise tabs you wish to link. The two values must be comma-separated. If only one <a href="../../scripting_reference/scripting_objects/tab"><strong>Tab</strong></a> object is specified, it will be unlinked if it is currently linked.</p><p><em>Example:</em> <code>Go TABLINK=\&#x3C;tab1\>,\&#x3C;tab2\>,navlock</code></p></td></tr><tr><td></td><td></td><td><strong>menu</strong></td><td><p>Generates the standard tab link menu. This is included on the default folder tab <a href="../../../customize/the_customize_dialog/context_menus">context menu</a>.</p><p><em>Example:</em> <code>Go TABLINK=menu</code></p></td></tr><tr><td>TABLIST</td><td>/O</td><td><em>(no value)</em></td><td><p>Displays a list of the currently open folder tabs (acts as a <a href="../../../customize/creating_your_own_buttons/editing_the_toolbar/dynamic_buttons">dynamic button</a>). Selecting a tab from the list will switch to that tab. You can also drag and drop files to the items in the list to copy them to that tab's folder.</p><p>By default the tabs shown are those from the current source file display, but you can combine with the <strong>OPENINLEFT</strong>, <strong>OPENINRIGHT</strong> and <strong>OPENINDEST</strong> arguments to display tabs from other file displays.</p><p><em>Example:</em> <code>Go TABLIST</code></p></td></tr><tr><td></td><td></td><td><strong>keys</strong></td><td><p>Assigns the accelerator keys <strong>0</strong> through <strong>9</strong> to the first ten items displayed on the generated tab list.</p><p><em>Example:</em> <code>Go TABLIST=keys</code></p></td></tr><tr><td></td><td></td><td><strong>sort</strong></td><td><p>Sorts the tab list alphabetically (without this, the items in the list are listed in the same order as the physical tabs). The sort order is based on the folder name (or tab label).</p><p><em>Example:</em> <code>Go TABLIST=sort,keys</code></p></td></tr><tr><td></td><td></td><td><strong>sortpath</strong></td><td><p>Sorts the tab list alphabetically, based on the full path of each folder.</p><p><em>Example:</em> <code>Go TABLIST=sortpath</code></p></td></tr><tr><td></td><td></td><td><strong>icons</strong></td><td><p>Displays folder icons for each tab in the list.</p><p><em>Example:</em> <code>Go TABLIST=sortpath,icons</code></p></td></tr><tr><td></td><td></td><td><strong>namesonly</strong></td><td><p>Only displays the folder name for each tab rather than the full path. Does not affect tabs which use custom labels; custom labels are always displayed as-is.</p><p><em>Example:</em> <code>Go TABLIST=sort,namesonly</code></p></td></tr><tr><td></td><td></td><td><strong>maxwidth=</strong><em>&#x3C;width></em></td><td><p>Specifies a maximum width (in characters) for each item in the list. When showing the full path of each tab, you may want to use this to stop the tab list from being too wide. If not specified, a maximum width of 50 is used by default - you can disable this (and have no maximum width at all) by specifying <strong>maxwidth=0</strong>.</p><p>Note that because this parameter requires an equals sign, you must enclose the whole value of the <strong>TABLIST</strong> argument in quotes.</p><p><em>Example:</em> <code>Go TABLIST="keys,maxwidth=70"</code></p></td></tr><tr><td>TABLOCK</td><td>/K</td><td><strong>lock</strong></td><td><p>Lock the current <a href="../../../basic_concepts/the_lister/tabs">folder tab</a> to prevent any folder changes. Attempts to change the folder will result in a new tab being created.</p><p><em>Example:</em> <code>Go TABLOCK=lock</code></p></td></tr><tr><td></td><td></td><td><strong>lockchanges</strong></td><td><p>Lock the current tab. Folder changes will be allowed, but the tab will revert to its original (locked) directory if it is clicked, or if the focus is moved to another tab and then back to this one. You can also use the command <strong>Go TABLOCKDIR</strong> to revert to the original directory.</p><p><em>Example:</em> <code>Go TABLOCK=lockchanges</code></p></td></tr><tr><td></td><td></td><td><strong>lockreuse</strong></td><td><p>Lock the current tab. Attempts to change folder will result in the first already existing, unlocked tab being used to read the new directory. A new tab will be opened if there are no unlocked tabs that can be used.</p><p><em>Example:</em> <code>Go TABLOCK=lockreuse</code></p></td></tr><tr><td></td><td></td><td><strong>off</strong></td><td><p>Unlock the current folder tab.</p><p><em>Example:</em> <code>Go TABLOCK=off</code></p></td></tr><tr><td></td><td></td><td><strong>toggle</strong></td><td><p>Combine with the various <strong>lock</strong> keywords to toggle that lock mode on or off.</p><p><em>Example:</em> <code>Go TABLOCK=lockchanges,toggle</code></p></td></tr><tr><td></td><td></td><td><strong>all</strong></td><td><p>Lock or unlock all folder tabs.</p><p><em>Example:</em> <code>Go TABLOCK=lock,all</code></p></td></tr><tr><td></td><td></td><td><strong>left</strong></td><td><p>Lock or unlock all tabs to the left of the current tab.</p><p><em>Example:</em> <code>Go TABLOCK=lockchanges,toggle,left</code></p></td></tr><tr><td></td><td></td><td><strong>right</strong></td><td><p>Lock or unlock all tabs to the right of the current tab.</p><p><em>Example:</em> <code>Go TABLOCK=off,right</code></p></td></tr><tr><td></td><td></td><td><strong>target</strong></td><td><p>(Opus 13.9.1 and above.) For use with scripting. Acts on the Command object's tab rather than the currently active tab.</p><p><em>Example:</em> <code>Go TABLOCK=off,target</code></p></td></tr><tr><td></td><td></td><td><strong>menu</strong></td><td><p>Generates the standard tab lock menu. This is included on the default folder tab <a href="../../../customize/the_customize_dialog/context_menus">context menu</a>.</p><p><em>Example:</em> <code>Go TABLOCK=menu</code></p></td></tr><tr><td>TABLOCKDIR</td><td>/S</td><td><em>(no value)</em></td><td><p>Indicates the original (locked) directory of the current folder tab. This is the directory that was shown in the tab when it was set to 'Lock Allow Changes' mode. You can use this to return to the locked folder, or open it in another tab or Lister. If the current tab is not locked this argument behaves the same as the <strong>CURRENT</strong> argument.</p><p><em>Example:</em> <code>Go TABLOCKDIR</code></p></td></tr><tr><td>TABMOVE</td><td>/O</td><td><em>(no value)</em></td><td><p>Move the current folder tab to the other file display. (See <strong>TABPOS</strong> for repositioning tabs without changing sides.) The Lister will be set to dual-display mode if it's not in that mode already.</p><p><em>Example:</em> <code>Go TABMOVE</code></p></td></tr><tr><td></td><td></td><td><strong>split</strong></td><td><p>Splits the folder tabs currently open in a single-display Lister. The Lister will be set to dual-display mode, and all tabs from the current tab onwards will be moved to the other display. If the Lister is already in dual-display mode this command has no effect.</p><p><em>Example:</em> <code>Go TABMOVE=split</code></p></td></tr><tr><td></td><td></td><td><strong>splitlister</strong></td><td><p>Splits the folder tabs in the current file display to a new Lister. All tabs from the current tab onwards will be closed in the current display, and reopened in a new Lister.</p><p><em>Example:</em> <code>Go TABMOVE=splitlister</code></p></td></tr><tr><td></td><td></td><td><em>&#x3C;new position></em></td><td><p>Specify the new position for the moved tab. You can specify an absolute position, <strong>-1</strong> to indicate the same relative position, and <strong>-2</strong> to position the moved tab to the right of the currently active tab. If not specified, the moved tab will be positioned at the end of all existing tabs.</p><p><em>Example:</em> <code>Go TABMOVE=-2</code></p></td></tr><tr><td></td><td></td><td><strong>active</strong></td><td><p>If specified, the moved tab will be made active. Otherwise the previously active tab in the other file display remains active.</p><p><em>Example:</em> <code>Go TABMOVE=active,-2</code></p></td></tr><tr><td>TABNAME</td><td>/O</td><td><em>(no value)</em></td><td><p>Clears the name of the current tab if one has been assigned. This will reset the tab label back to the default which is to show the name of the current folder.</p><p><em>Example:</em> <code>Go TABNAME</code></p></td></tr><tr><td></td><td></td><td>&#x3C;<em>tab name</em>></td><td><p>Assigns the specified name to the current tab. If combined with the <strong>NEWTAB</strong> argument the name will be assigned to the newly created tab.</p><p><em>Example:</em> <code>Go C:\Work NEWTAB TABNAME "My Work Dir"</code></p><p>You can use several special "tokens" in the tab name to insert various pieces of information:</p><table><thead><tr><th></th><th></th></tr></thead><tbody><tr><td><strong>%P</strong></td><td>full path of the current (source) folder</td></tr><tr><td><strong>%N</strong></td><td>name of the current (source) folder</td></tr><tr><td><strong>%R</strong></td><td>drive root of the current (source) folder</td></tr><tr><td><strong>%!</strong></td><td>hide section</td></tr></tbody></table><p><em>Example:</em> <code>Go TABNAME "%R - %N"</code></p><p>The <strong>%!</strong> code lets you hide sections in the string where all other tokens inside the section are empty.</p><p><em>Example:</em> <code>Go TABNAME "%!Drive %R : %!%N"</code></p><p>That means that if the <strong>%R</strong> token expands to an empty string, the result will be just "%N" (the name of the folder).</p></td></tr><tr><td></td><td></td><td></td><td></td></tr><tr><td><strong>%P</strong></td><td>full path of the current (source) folder</td><td></td><td></td></tr><tr><td><strong>%N</strong></td><td>name of the current (source) folder</td><td></td><td></td></tr><tr><td><strong>%R</strong></td><td>drive root of the current (source) folder</td><td></td><td></td></tr><tr><td><strong>%!</strong></td><td>hide section</td><td></td><td></td></tr><tr><td></td><td></td><td><strong>!edit</strong></td><td><p>Initiates editing of the current tab's name. You can use the <strong>PATH</strong> argument to specify the index of a tab to edit (with the left-most being index #0).</p><p><em>Example:</em> <code>Go TABNAME=!edit</code></p></td></tr><tr><td>TABPOS</td><td>/K</td><td><strong>first</strong></td><td><p>When used with the <strong>NEWTAB</strong> argument, causes the newly created tab to appear as the first on the tab bar. When used with <strong>TABCLOSE</strong>, closes the first tab. When used on its own, repositions the active folder tab so it is first on the tab bar.</p><p><em>Example:</em> <code>Go C:\ NEWTAB TABPOS=first</code></p><p>When used from a <a href="../../../scripting">script</a>, you can pass the default value of a <a href="../../scripting_reference/scripting_objects/tab"><strong>Tab</strong></a> object to specify the tab you wish to reposition as the second parameter.</p><p><em>Example:</em> <code>Go TABPOS=first,\&#x3C;tab\></code></p></td></tr><tr><td></td><td></td><td><strong>last</strong></td><td><p>When used with the <strong>NEWTAB</strong> argument, causes the newly created tab to appear as the last on the tab bar. When used with <strong>TABCLOSE</strong>, closes the last tab. When used on its own, repositions the active folder tab so it is last on the tab bar.</p><p><em>Example:</em> <code>Go TABPOS=last</code></p><p>When used from a <a href="../../../scripting">script</a>, you can pass the default value of a <a href="../../scripting_reference/scripting_objects/tab"><strong>Tab</strong></a> object to specify the tab you wish to reposition as the second parameter.</p><p><em>Example:</em> <code>Go TABPOS=last,\&#x3C;tab\></code></p></td></tr><tr><td></td><td></td><td><strong>+1</strong></td><td><p>When used with the <strong>NEWTAB</strong> argument, causes the newly created tab to appear as to the right of the currently active tab. When used with <strong>TABCLOSE</strong>, closes the tab to the right of the active tab. When used on its own, repositions the active folder tab to the right of its current position on the tab bar. You can also use +2 for two positions to the right, and so on.</p><p><em>Example:</em> <code>Go TABPOS=+1</code></p><p>When used from a <a href="../../../scripting">script</a>, you can pass the default value of a <a href="../../scripting_reference/scripting_objects/tab"><strong>Tab</strong></a> object to specify the tab you wish to reposition as the second parameter.</p><p><em>Example:</em> <code>Go TABPOS=+3,\&#x3C;tab\></code></p></td></tr><tr><td></td><td></td><td><strong>-1</strong></td><td><p>When used with the <strong>NEWTAB</strong> argument, causes the newly created tab to appear to the left of the currently active tab. When used with <strong>TABCLOSE</strong>, closes the tab to the left of the active tab. When used on its own, repositions the active folder tab to the left of its current position on the tab bar. You can also use -2 for two positions to the left, and so on.</p><p><em>Example:</em> <code>Go TABPOS=-1</code></p><p>When used from a <a href="../../../scripting">script</a>, you can pass the default value of a <a href="../../scripting_reference/scripting_objects/tab"><strong>Tab</strong></a> object to specify the tab you wish to reposition as the second parameter.</p><p><em>Example:</em> <code>Go TABPOS=-2,\&#x3C;tab\></code></p></td></tr><tr><td></td><td></td><td><em>&#x3C;index></em></td><td><p>When used with the <strong>NEWTAB</strong> argument, specifies the position for the newly created tab. When used with <strong>TABCLOSE</strong>, specifies the position of the tab to close. When used on its own, repositions the active folder tab to a specific place on the tab bar. 0 is the first tab (you can also use "first"), 1 the second, 2 the third, and so on.</p><p><em>Example:</em> <code>Go D:\ NEWTAB TABPOS=2</code></p><p>When used from a <a href="../../../scripting">script</a>, you can pass the default value of a <a href="../../scripting_reference/scripting_objects/tab"><strong>Tab</strong></a> object to specify the tab you wish to reposition as the second parameter.</p><p><em>Example:</em> <code>Go TABPOS=3,\&#x3C;tab\></code></p></td></tr><tr><td>TABSCROLL</td><td>/O</td><td><em>(no value)</em></td><td><p>If there are more tabs open than will fit in the display, this command displays the tab overflow menu (useful if you want to bind this to a hotkey). You can combine this with the <strong>OPENINDEST</strong>, <strong>OPENINLEFT</strong> and <strong>OPENINRIGHT</strong> arguments to display the overflow menu in other file displays.</p><p><em>Example:</em> <code>Go TABSCROLL</code></p></td></tr><tr><td></td><td></td><td><em>&#x3C;delta></em></td><td><p>Scroll the folder tabs left or right if there are more tabs open than will fit in the display.</p><p><em>Example:</em> <code>Go TABSCROLL=-1</code></p></td></tr><tr><td>TABSELECT</td><td>/K</td><td><strong>first</strong></td><td><p>Select (make active) the first folder tab in the current file display.</p><p><em>Example:</em> <code>Go TABSELECT=first</code></p></td></tr><tr><td></td><td></td><td><strong>last</strong></td><td><p>Select the last folder tab in the current file display.</p><p><em>Example:</em> <code>Go TABSELECT=last</code></p></td></tr><tr><td></td><td></td><td><strong>prev</strong></td><td><p>Reselect the previously selected folder tab.</p><p><em>Example:</em> <code>Go TABSELECT=prev</code></p></td></tr><tr><td></td><td></td><td><strong>+1</strong></td><td><p>Select the next folder tab.</p><p><em>Example:</em> <code>Go TABSELECT +1</code></p></td></tr><tr><td></td><td></td><td><strong>-1</strong></td><td><p>Select the previous folder tab.</p><p><em>Example:</em> <code>Go TABSELECT -1</code></p></td></tr><tr><td></td><td></td><td><strong>home</strong></td><td><p>Resets a locked tab to its "home" directory. This is equivalent to <strong>Go TABLOCKDIR</strong>. If the current tab is not set to 'Locked Allow Changes' mode this command has no effect.</p><p><em>Example:</em> <code>Go TABSELECT home</code></p></td></tr><tr><td></td><td></td><td><em>&#x3C;index></em></td><td><p>Select a specific folder tab. The index is 0 relative (so <strong>Go TABSELECT 0</strong> is equivalent to <strong>Go TABSELECT first</strong>).</p><p><em>Example:</em> <code>Go TABSELECT=5</code></p></td></tr><tr><td></td><td></td><td>$<em>&#x3C;tab></em></td><td><p>Select a specific folder tab from a script. If you have a <a href="../../scripting_reference/scripting_objects/tab"><strong>Tab</strong></a> object and want to activate it, add it to the command string prefixed by a <strong>$</strong> character.</p><p><em>Example:</em> <code>cmd.RunCommand("Go TABSELECT=\$" + tab)</code></p></td></tr><tr><td>TABSWAP</td><td>/O</td><td><em>(no value)</em></td><td><p>Swaps the active tab in the left file display with the active tab in the right file display.</p><p><em>Example:</em> <code>Go TABSWAP</code></p></td></tr><tr><td></td><td></td><td><em>&#x3C;index1></em>,<em>&#x3C;index2></em></td><td><p>Specify indices to swap a specific tab from the left file display with a specific tab in the right file display.</p><p><em>Example:</em> <code>Go TABSWAP=0,0</code></p></td></tr><tr><td>TABSWITCHER</td><td>/S</td><td><em>(no value)</em></td><td><p>Displays the "tab switcher", a popup list of tabs open in the current Lister. You can use it to switch to another tab in the same way Alt+Tab in Windows lets you switch to another window.</p><p>By default the tab switcher is bound to the Ctrl+Tab key; you can use this command to bind it to a different key or trigger it via a mouse button, etc.</p><p><em>Example:</em> <code>Go TABSWITCHER</code></p></td></tr><tr><td>TABUNDOCLOSE</td><td>/S</td><td><em>(no value)</em></td><td><p>Undoes the last action that resulted in one or more tabs being closed.</p><p><em>Example:</em> <code>Go TABUNDOCLOSE</code></p></td></tr><tr><td>TITLE</td><td>/K</td><td><em>&#x3C;custom title></em></td><td><p>Specifies a custom title when opening a new Lister using the <strong>NEW</strong> argument. You can use several special "tokens" in the title string to insert various pieces of information:</p><table><thead><tr><th></th><th></th></tr></thead><tbody><tr><td><strong>%P</strong></td><td>full path of the current (source) folder</td></tr><tr><td><strong>%N</strong></td><td>name of the current (source) folder</td></tr><tr><td><strong>%R</strong></td><td>drive root of the current (source) folder</td></tr><tr><td><strong>%D</strong></td><td>full path of the destination folder</td></tr><tr><td><strong>%M</strong></td><td>name of the destination folder</td></tr><tr><td><strong>%G</strong></td><td>target if the folder is a junction or softlink</td></tr><tr><td><strong>%1</strong></td><td>full path in the left file display</td></tr><tr><td><strong>%2</strong></td><td>full path in the right file display</td></tr><tr><td><strong>%3</strong></td><td>folder name in the left file display</td></tr><tr><td><strong>%4</strong></td><td>folder name in the right file display</td></tr><tr><td><strong>%L</strong></td><td>name of the Layout the Lister came from (if any)</td></tr><tr><td><strong>%S</strong></td><td>name of the current Style selected in the Lister (if any)</td></tr><tr><td><strong>%T</strong></td><td>complete original title (useful for simply adding a prefix or suffix)</td></tr><tr><td><strong>%!</strong></td><td>hide section</td></tr></tbody></table><p><em>Example:</em> <code>Go NEW TITLE "Directory Opus - %N"</code></p><p>The <strong>%!</strong> code lets you hide sections in the string where all other tokens inside the section are empty.</p><p><em>Example:</em> <code>Go NEW TITLE "%!%T - %!Directory Opus"</code></p><p>That means that if the <strong>%T</strong> token expands to an empty string, the result will be just "Directory Opus" rather than " - Directory Opus".</p></td></tr><tr><td></td><td></td><td></td><td></td></tr><tr><td><strong>%P</strong></td><td>full path of the current (source) folder</td><td></td><td></td></tr><tr><td><strong>%N</strong></td><td>name of the current (source) folder</td><td></td><td></td></tr><tr><td><strong>%R</strong></td><td>drive root of the current (source) folder</td><td></td><td></td></tr><tr><td><strong>%D</strong></td><td>full path of the destination folder</td><td></td><td></td></tr><tr><td><strong>%M</strong></td><td>name of the destination folder</td><td></td><td></td></tr><tr><td><strong>%G</strong></td><td>target if the folder is a junction or softlink</td><td></td><td></td></tr><tr><td><strong>%1</strong></td><td>full path in the left file display</td><td></td><td></td></tr><tr><td><strong>%2</strong></td><td>full path in the right file display</td><td></td><td></td></tr><tr><td><strong>%3</strong></td><td>folder name in the left file display</td><td></td><td></td></tr><tr><td><strong>%4</strong></td><td>folder name in the right file display</td><td></td><td></td></tr><tr><td><strong>%L</strong></td><td>name of the Layout the Lister came from (if any)</td><td></td><td></td></tr><tr><td><strong>%S</strong></td><td>name of the current Style selected in the Lister (if any)</td><td></td><td></td></tr><tr><td><strong>%T</strong></td><td>complete original title (useful for simply adding a prefix or suffix)</td><td></td><td></td></tr><tr><td><strong>%!</strong></td><td>hide section</td><td></td><td></td></tr><tr><td>TOFRONT</td><td>/S</td><td><em>(no value)</em></td><td><p>Makes the Lister the active window and brings it to the front. Typically used when sending commands from outside of Opus, to make sure the window that reads the folder is visible.</p><p><em>Example:</em> <code>Go C:\ TOFRONT</code></p></td></tr><tr><td>TREECOLLAPSE</td><td>/O</td><td><em>(no value)</em></td><td><p>Collapses the selected branch in the tree belonging to the source file display.</p><p><em>Example:</em> <code>Go TREECOLLAPSE</code></p></td></tr><tr><td></td><td></td><td><strong>dest</strong></td><td><p>Collapses the selected branch in the tree belonging to the destination file display (when dual trees are enabled).</p><p><em>Example:</em> <code>Go TREECOLLAPSE=dest</code></p></td></tr><tr><td></td><td></td><td><strong>left</strong></td><td><p>Collapses the selected branch in the left/top file display.</p><p><em>Example:</em> <code>Go TREECOLLAPSE=left</code></p></td></tr><tr><td></td><td></td><td><strong>right</strong></td><td><p>Collapses the selected branch in the right/bottom file display (when dual trees are enabled).</p><p><em>Example:</em> <code>Go TREECOLLAPSE=right</code></p></td></tr><tr><td></td><td></td><td><strong>both</strong></td><td><p>Collapses the selected branches in both source and destination trees.</p><p><em>Example:</em> <code>Go TREECOLLAPSE=both</code></p></td></tr><tr><td></td><td></td><td><strong>focus</strong></td><td><p>Collapses the selected branches in the tree which currently has input focus (or the tree belonging to the file display with input focus).</p><p><em>Example:</em> <code>Go TREECOLLAPSE=focus</code></p></td></tr><tr><td></td><td></td><td><strong>all</strong></td><td><p>Collapse all folders (and all their child folders, and so on) below the selected folder, not just the selected folder.</p><p><em>Example:</em> <code>Go TREECOLLAPSE=all,both</code></p></td></tr><tr><td></td><td></td><td><strong>first</strong></td><td><p>Collapse just the first level of descendants below the selected folder.</p><p><em>Example:</em> <code>Go TREECOLLAPSE=left,first</code></p></td></tr><tr><td></td><td></td><td><strong>second</strong></td><td><p>Collapse the first and second levels of descendants below the selected folder.</p><p><em>Example:</em> <code>Go TREECOLLAPSE=second</code></p></td></tr><tr><td>TREEEXPAND</td><td>/O</td><td><em>(no value)</em></td><td><p>When used in conjunction with reading a folder, this command automatically expands the folder tree to display the contents of the new folder. This is only of use if the <strong>Automatically expand to current folder</strong> option on the <a href="../../../preferences/preferences_categories/folder_tree/expand_collapse"><strong>Folder Tree / Expand / Collapse</strong></a> Preferences page is turned off.</p><p>You can also use this command by itself, to expand the currently selected folder.</p><p><em>Example:</em> <code>Go "C:\Program Files\GPSoftware\Directory Opus" NEW TREEEXPAND</code></p></td></tr><tr><td></td><td></td><td><strong>dest</strong></td><td><p>Expands the selected branch in the tree belonging to the destination file display (when dual trees are enabled).</p><p><em>Example:</em> <code>Go TREEEXPAND=dest</code></p></td></tr><tr><td></td><td></td><td><strong>left</strong></td><td><p>Expands the selected branch in the left/top file display.</p><p><em>Example:</em> <code>Go TREEEXPAND=left</code></p></td></tr><tr><td></td><td></td><td><strong>right</strong></td><td><p>Expands the selected branch in the right/bottom file display (when dual trees are enabled).</p><p><em>Example:</em> <code>Go TREEEXPAND=right</code></p></td></tr><tr><td></td><td></td><td><strong>both</strong></td><td><p>Expands the selected branches in both source and destination trees.</p><p><em>Example:</em> <code>Go TREEEXPAND=both</code></p></td></tr><tr><td></td><td></td><td><strong>focus</strong></td><td><p>Expands the selected branches in the tree which currently has input focus (or the tree belonging to the file display with input focus).</p><p><em>Example:</em> <code>Go TREEEXPAND=focus</code></p></td></tr><tr><td></td><td></td><td><strong>all</strong></td><td><p>Expand all folders (and all their child folders, and so on) below the selected folder, not just the selected folder.</p><p><em>Example:</em> <code>Go TREEEXPAND=all,both</code></p></td></tr><tr><td></td><td></td><td><strong>first</strong></td><td><p>Expand just the first level of descendants below the selected folder.</p><p><em>Example:</em> <code>Go TREEEXPAND=left,first</code></p></td></tr><tr><td></td><td></td><td><strong>second</strong></td><td><p>Expand the first and second levels of descendants below the selected folder.</p><p><em>Example:</em> <code>Go TREEEXPAND=second</code></p></td></tr><tr><td>TREESETPINSTATE</td><td>/O</td><td><em>(no value)</em></td><td><p>Toggles the "pin" state of the currently selected folder in the <a href="../../../basic_concepts/the_lister/navigation/folder_tree">folder tree</a>. Pinned folders always stay expanded - they can't be collapsed. Note that folder pinning needs to be enabled from the <a href="../../../preferences/preferences_categories/folder_tree/expand_collapse/pins">pins</a> page in Preferences for this command to have any effect.</p><p><em>Example:</em> <code>Go TREESETPINSTATE</code></p></td></tr><tr><td></td><td></td><td><strong>on</strong></td><td><p>Turns on the "pin" state of the currently selected folder.</p><p><em>Example:</em> <code>Go TREESETPINSTATE=on</code></p></td></tr><tr><td></td><td></td><td><strong>off</strong></td><td><p>Turns off the "pin" state of the currently selected folder.</p><p><em>Example:</em> <code>Go TREESETPINSTATE=off</code></p></td></tr><tr><td>UNDOCLOSELISTER</td><td>/O</td><td><em>(no value)</em></td><td><p>Reopens the last Lister that was closed (so if, for example, you accidentally close the Lister you're working with, this command would bring it back).</p><p><em>Example:</em> <code>Go UNDOCLOSELISTER</code></p></td></tr><tr><td></td><td></td><td><strong>closeexisting</strong></td><td><p>Reopens the last Lister that was closed, and closes all other open Listers.</p><p><em>Example:</em> <code>Go UNDOCLOSELISTER=closeexisting</code></p></td></tr><tr><td>UP</td><td>/S</td><td><em>(no value)</em></td><td><p>Navigate <a href="../../../basic_concepts/the_lister/navigation/up_forwards_back">up</a> to the parent of the current folder. You can combine this with <strong>OPENINDUAL</strong> etc. to open the parent of the current folder in another file display or Lister. This can also be combined with the <strong>BACK</strong> argument - in that case, if the parent of the current folder is also the previous folder in the history list, Opus will move back rather than up - preserving the file selection and other state of the previous folder.</p><p><em>Example:</em> <code>Go UP</code></p></td></tr><tr><td>USEQUALKEYS</td><td>/S</td><td><em>(no value)</em></td><td><p>Activates pre-configured behaviour for the main qualifier keys - <strong>Control</strong> will open the folder in the dual-display, <strong>Shift</strong> in a new Lister and <strong>Alt</strong> in a new tab.</p><p>This is equivalent to <strong>KEYARGS ctrl:OPENINDUAL shift:NEW alt:NEWTAB</strong>.</p><p><em>Example:</em> <code>Go C:\ USEQUALKEYS</code></p></td></tr><tr><td>USER</td><td>/K</td><td><em>&#x3C;user name></em></td><td><p>Can be used when certain folder aliases are supplied for the <strong>PATH</strong> argument. This lets you specify an alternative user name, to access a specific user's instance of a system folder (providing you have the appropriate permissions, of course). If the specified alias doesn't support multiple users this argument has no effect.</p><p><em>Example:</em> <code>Go /desktopdir USER="Leo Nudelson"</code></p></td></tr><tr><td>VIEW</td><td>/K</td><td><strong>largeicons</strong></td><td><p>Changes the <a href="../../../basic_concepts/the_lister/view_modes">view mode</a> of the new folder to <em>Large Icons</em> mode.</p><p><em>Example:</em> <code>Go CURRENT NEWTAB VIEW=largeicons</code></p></td></tr><tr><td></td><td></td><td><strong>smallicons</strong></td><td><p>Changes the view mode of the new folder to <em>Small Icons</em> mode.</p><p><em>Example:</em> <code>Go C:\ VIEW smallicons</code></p></td></tr><tr><td></td><td></td><td><strong>list</strong></td><td><p>Changes the view mode to <em>List</em> mode.</p><p><em>Example:</em> <code>Go {destpath} VIEW list</code></p></td></tr><tr><td></td><td></td><td><strong>details</strong></td><td><p>Changes the view mode to <em>Details</em> mode.</p><p><em>Example:</em> <code>Go CURRENT LAYOUT=PhotoLayout VIEW=details</code></p></td></tr><tr><td></td><td></td><td><strong>power</strong></td><td><p>Changes the view mode to <em>Power</em> mode.</p><p><em>Example:</em> <code>Go NEW VIEW=power</code></p></td></tr><tr><td></td><td></td><td><strong>thumbnails</strong></td><td><p>Changes the view mode to <em>Thumbnails</em> mode.</p><p><em>Example:</em> <code>Go /desktop VIEW=thumbnails</code></p></td></tr><tr><td></td><td></td><td><strong>tiles</strong></td><td><p>Changes the view mode to <em>Tiles</em> mode.</p><p><em>Example:</em> <code>Go @WorkFTP NEWTAB VIEW tiles</code></p></td></tr><tr><td>WHENDUAL</td><td>/K</td><td><strong>checkmouse</strong></td><td><p>This works in conjunction with the <strong>BACK</strong>, <strong>FORWARD</strong> and <strong>UP</strong> arguments and is designed to be used with "app command" hotkeys like the Back button on a mouse. It lets you make navigation commands triggered from the mouse act on the file display underneath the mouse pointer in a dual display Lister, rather than, as is the default, the source file display.</p><p><em>Example:</em> <code>Go BACK WHENDUAL=checkmouse</code></p></td></tr><tr><td></td><td>r</td><td><strong>anydevice</strong></td><td><p>Use with the <strong>checkmouse</strong> argument to cause the <strong>WHENDUAL</strong> argument to activate when the command is run from a non-mouse device (e.g. when the command is bound to a <strong>Back</strong> button on a keyboard).</p><p><em>Example:</em> <code>Go BACK WHENDUAL=checkmouse,anydevice</code></p></td></tr><tr><td></td><td></td><td><strong>deffocus</strong></td><td><p>Add the deffocus argument to cause the command to fall back to the original behavior if the mouse pointer isn't currently over either of the file displays.</p><p><em>Example:</em> <code>Go BACK WHENDUAL=checkmouse,deffocus</code></p></td></tr></tbody></table>
