The Close command can be used to:
Command Arguments:
Argument |
Type |
Possible values |
Description |
---|---|---|---|
no argument |
- |
- |
Closes the active Lister. If the active Lister was the only one and
the Shutdown Directory Opus when the last Lister
closes option on the Launching Opus /
Startup Preferences page is turned on, this will also
exit the
program. |
ALLLISTERS |
/O |
(no value) |
Closes all currently open Listers. The program will also exit if the
Shutdown Directory Opus when the last Lister closes
option is turned on. |
|
|
collapse |
Collapses all open Listers to tabs in a single Lister. All Listers
except the active one will be closed, and tabs will be opened in the
remaining Lister for every Lister that
closed. |
ALLOTHERLISTERS |
/S |
(no value) |
Closes all open Listers except the active
Lister. |
ALLVIEWERS |
/S |
(no value) |
Closes any open standalone viewer windows. |
AT |
/K |
<HH:MM:SS> |
In conjunction with the SYSTEM argument this schedules
an automatic shutdown of your system at a given time. The time to shutdown
is given as a 24 hour time in HH:MM:SS format. If the time you specify is
earlier than the current time of day, it will be taken to refer to the
next day. When the time you specify is reached, a ten second countdown
timer is displayed before the system it
shutdown. |
AUTOLISTER |
/O |
(no value) |
In conjunction with the Prefs RESTORE command, this
argument sets a global flag that specifies that when Opus
restarts, it should use "auto-Lister" semantics (which basically means
that when Opus restarts, it will open a Lister by
default). |
|
|
no |
Disables "auto-Lister" semantics when Opus
restarts. |
CANCEL |
/S |
(no value) |
If you have previously scheduled a system shutdown with the
Close SYSTEM and AT or
IN arguments, this argument will cancel
it. |
IN |
/K |
<HH:MM:SS> |
Schedules an automatic shutdown in a certain amount of time (contrast
with AT, which lets you specify an absolute time of day).
The time is specified in HH:MM:SS format (or MM:SS or just SS). When
the time you specify is reached, a ten second countdown timer is displayed
before the system it shutdown. |
PROGRAM |
/O |
(no value) |
Exits Directory Opus
immediately. |
|
|
confirm |
Exits Directory Opus after displaying a confirmation
dialog. |
|
|
onlast |
Close the program only if this is the last remaining Lister, otherwise
just close the Lister. This command lets you create a unified close/quit
command. |
QUIET |
/S |
(no value) |
Suppresses the confirmation dialog normally displayed when shutting the
system down with the Close SYSTEM command. The system
will immediately shutdown - there will be no chance to cancel. You can
also use this in conjunction with the scheduled shutdown arguments
AT and
IN. |
SYSTEM |
/O |
(no value) |
Ends your Windows session and logs you off. A ten second countdown
dialog will be displayed giving you a chance to cancel (unless you also
use the QUIET
argument). |
|
|
restart |
Restarts (reboots) the
system |
|
|
shutdown |
This shuts the system down (depending on your hardware, this may also
power off the computer; or it may display the "Your computer is now
safe to be shutdown"
screen). |
|
|
poweroff |
This shuts the system down and powers off the
computer. |
|
|
force |
Use this in addition to the other options to force the system to
shutdown even if some programs are not responding. Normally the system
will wait for all running programs to exit before shutting down. If you
use this option the system will shutdown immediately and you may
potentially lose unsaved data if some programs are currently
busy. |
|
|
forceifhung |
This is the same as the force option, but only if
there actually are any non-responding programs. Otherwise the shutdown
proceeds as normal. |
|
|
switch |
If fast user-switching is enabled, this command will let you switch
users. (This cannot be scheduled via the AT
argument.) |
|
|
unattended |
System restart or shutdown will be done in a way which avoids
additional confirmation dialogs when running via Remote Desktop or
Terminal Services. The dialogs this avoids come from Windows itself; Opus
will still show its own confirmation dialogs unless you also use the
QUIET argument. If any applications, for any logged-in
users, have unsaved work then system dialogs may still be generated unless
you also use force or forceifhung (there
is no distinction between the two when combined with
unattended). |
TOGGLE |
/S |
(no value) |
Use this argument in conjunction with the scheduled-shutdown options to
toggle the scheduled shutdown on or off. If used in a toolbar or menu it
causes the button to appear checked whenever a shutdown is scheduled, and
unchecked if not (providing a visual indication of the current state of
the shutdown scheduler). |
WHENFINISHED |
/S |
(no value) |
Schedules an automatic shutdown when all outstanding file operations
have completed. For example, when you are downloading a large amount of
data via FTP, you could use this to have the computer automatically
shutdown when the download is complete. |