The CreateFolder internal command is used to:
Command Arguments:
Argument |
Type |
Possible values |
Description |
---|---|---|---|
ARCHIVE |
/O |
(no value) |
Create a new archive file. The archive format will default to .zip but
can be changed via the
dialog. |
|
|
<archive format> |
Create a new archive file of the specified
format. |
ARCHIVEARGS |
/K |
<archive arguments> |
Used to pass format-specific arguments when creating an archive. The
format these arguments take is defined by the plugin and archive type in
question - currently, none of the standard archive formats Opus supports
make use of this. |
COLLQUERY |
/S |
(no value) |
Creates a a stored query collection rather than a regular file
collection. This only has effect when actually creating a collection
(because, for example, you are in the File Collections root folder at the
time). |
FROMCLIPBOARD |
/S |
(no value) |
Uses the text currently on the clipboard for the name of the new
folder. Equivalent to CreateFolder
"{clip}". |
INLINE |
/S |
(no value) |
Creates a new folder and lets you edit its name inline (in the file
display) - equivalent to selecting New -> Folder from the
context or File menu. |
NAME |
/M |
<folder name> ... |
Specify the name of the folder or archive to create. If this argument
is supplied Opus will not prompt for a name. You can specify a full path,
or just the folder name to create the folder in the current source
directory. You can also specify multiple names to create more than one
folder at once. This is the default argument for the
CreateFolder command, so the keyword NAME
does not need to be specified. |
NOSEL |
/S |
(no value) |
Normally when a folder is created in the currently displayed directory
it is selected, and the display scrolled if necessary to make it visible.
The NOSEL argument prevents
this. |
NOUPDATESETTINGS |
/S |
(no value) |
Prevents settings made by this command from becoming the new defaults.
For example, if you specify the READAUTO argument, the
value you provide will become the new default setting for the CreateFolder
command unless you also specify
NOUPDATESETTINGS. |
READAUTO |
/O |
(no value) |
Automatically read the newly created folder into the current source
file display. |
|
|
no |
Do not automatically read the newly created
folder. |
|
|
dual |
Read the newly created folder into the other file display. If the
Lister is not currently in dual-display mode it will be placed in this
mode first. You can combine this value with tab to
open a new tab in the other file
display. |
|
|
tab |
Create a new tab for the newly created folder. The tab will be opened
in the source file display unless dual is also
specified. |
|
|
nofocus |
When opening a new tab, prevents that tab from being made
the active one. |
ZIP |
/S |
(no value) |
Create a new Zip file (equivalent to CreateFolder
ARCHIVE=.zip). |