GP SoftwareTwitter
Opus FAQsManualCommandsObjects

How to Exit Directory Opus


#1

By default, Opus stays running in the background even when none of its windows are open. This is for a few reasons:

[ul][li]It means you can very quickly open new Opus windows which is useful if you frequently open windows to do a job and then close them when done.[/li]
[li]It means System-Wide Hotkeys still work when no windows are open.[/li]
[li]It means Floating/Docked Toolbars work when no windows are open.[/li][/ul]

To exit Opus temporarily you can use:

[ul][li]The File menu:


[/li]
[li]The jump-list (Windows 7):



[/li]
[li]The tray icon (if enabled):


[/li][/ul]

If you want Opus to exit automatically when no windows are open (i.e. you don’t care about system-wide hotkeys, floating toolbars etc.), turn on this option:



Why no Vista style, what have I done?
Time to show My Computer after boot
New Docs/ActiveX plugin
Startup folder always My Computer
High processor usage
Fix for WMV issues (Was: DOpus Crashes Intermittently)
Lister won't open on startup (portable mode)
Dopus Crashing System in Vista
Multiview doesn't stay configured
Dopus keeps running in processes even after closed
Folders slow to open first time
Running USB on desktop with DO
Directory Opus executables and hooks
Reopen last closed listers
Double-click on desktop does not launch Dopus lister
Netwok unavailabe in DO
Reopen last closed listers
Problem opening RAR files within Opus
How to change the language Opus uses
Blank Smart Favorites
Create your own Folder Icon Change toolbar [UPDATED: 2.0]
How to find components causing memory leaks
"Open listers that were last open..." problem on v10
"Open listers that were last open..." problem on v10
Volume Label Not Displayed on CD/DVD
Copy (lister context menu) settings to another opus user?
When I create a new txt the extension is TXT
CPU usage increase
Copying Workstation files to NAS Drive (UAC) issue
Default Lister problem on multi-monitor set-up
SSL error with version 10.0.2.0
Are globals really globals?
Unmounted virtual drive still showing in folder tree
How to close the program
Portable replaces installed settings [possibly user error]
Wrong drive icon when using different usb devices
DO 10 causes high MSTSC cpu usage
Dopus not showing virtual drives
Thumbnail size override
KODC theme... right clicking in views is tough to read
USB thumbdrive not visible
Drive Icons not showing in Dierctory Opus
10.0.4.0 100 percent CPU Utilization
Problem with latest version Directory Opus 10.0.4.4 (beta)
Incorrect Icon Overlay
DOpus pinned to taskbar not opening changed setup lister
Removing license from computer without admin rights
Dopus using 7GB of RAM
Mouse wheel goes three columns at a time in list view
Autodesk Context Menu
Control Panel and DO 10
Devices with Removable Storage are not sometimes displayed
High memory and CPU usage during VS2010 unit tests
FTP Address Book exporting/importing command
Duplicate file finder tutorial
Opus not detecting file changes after IP broadcast
Change refresh on drive mounted via linked directory
Remember Where Left Off in Previous Session
Disappearing icons
Question re USB export
Directories open slowly
Left Folder Tree Pane hangs Dopus 10.2.0.5
DOpus displays old icon for filetype
Memory Usage Goes sky High (video codec?)
Frequent Lockups, empty tabs (iCloud related?)
Slow folder listing with SolidWorks files
Inconsistent naming of some external HDDs
Gradual slowing of Opus 10.5.0.0
Crash When Browsing Large Folders
MTP in Folder Tree view
Inconsistent naming of some external HDDs
MTP external SD card folders appear twice in tree
Set Dopus back to defaults
Samsung Note 2 mobile won't show files
Program Error Encountered problem
Error in dopus_fileinfo (10.5.0.6 (beta))
Icons for archives
Files/Folders Icons of Dropbox's Folder are Gone
Slow file processing mobile device
Refreshing network drive letters
Dopus.queuedfunction crash 0xc0000005
Icons disappear in Directory Opus
Missing folder icons
Network places that should not appear
Thrashing disk
DOpus keeps opening listers with fixed folders not last used
Things I dislike about native My Computer display
File Exit
Emptying The temp folder after decompressing RAR Archives
Norton Internet Security 21 "Scan Now"
Crash right-clicking ThisPC
Unit name
Creating a Collection within a Collection: no response
DO11: Changing PSD preview mode loses previews
DO11: Changing PSD preview mode loses previews
DO11: Update Tips
Crashes on 64 bit XP machimes
Problem creating New Library
DO11: Tab Groups
FTP bookmarks
Folder display bug (again)
DO11: Reading Rar not working
Directory Opus 11 - time for Date Modified
DO crashes every time I restart of log off (version 10+11)
DO11: Folder Labels
Directory Opus 11 - Cannot send command to application error
USB configuration export
OneDrive Icon in Folder Tree Always Shows Sync Problem
Bitlocker Refresh
DOPUS 11.x crashes when starts
DO completey unresponsive for a full minute on startup
Scripts (Perl): How To: Setup ActivePerl for scripting in Opus 11
I have a question about Folder renaming speed and time
How to 'Forget' RAR Password?
Tip: How to clear/clean your history in Directory Opus
Tip: How to clear/clean your history in Directory Opus
Custom backups
Icons for each folder/file now disappear
Directory Opus slow with Dropbox folders
Sluggish when working on files stored also in OneDrive
Strange access error in a special situation (DirOpus 10)
V11.8 - Slow Search Problem
Using opus 10 config in opus 11
Perforce context menu only appears in Explorer
Installing Opus 11, and leaving Opus 10 in place
Exit and Restart
Opus 11.12.1 and Meta data
DOpus fonts change when Windows scaling is changed
Time to show My Computer after boot
Synchronized Configurations
Dopus stops opening folders
File List Automatic Update
Problem with SFTP connection
Dopus stops opening folders
Copying several files from the phone - not working
Opus using 7GB of RAM part 3
HD to USB3.0 transfers
DOpus 11 crashes
Mysterious directory Opus start with script function
Lister Colours
For what is selection box in prefs / toolbars / scripts?
No icons on detailed view
File containing preferences
USB Dongle issue
Switching beteen Pro and Lite
"Devices with Removable Storage" does not Refresh
Ftp does not work
FTP all of a sudden stopped working
FTP failure
A Horizontal Line Across My Monitor
File Preview Settings?
Removed Folders
Can't restore configuration without overwriting bookmarks
Start up time - into minutes
Command doesn't work anymore
Adding to Archives
DO11: Open new lister as different user
Images toolbar
How to edit zip/rar archives?
Environment Variable Changes via WM_SETTINGCHANGE not propagating
Path format entities edit Folder path
Problems on Windows restart
DO11 - Windows 10 - Unable to Eject Western Digital External Drive
Synchronization upload fails
DO12 - Very slow to launch new lister after last one closed
Dimensions column not displaying data
Get rid of new toolbar and menu after installing v12
SFTP Username error after changing username
Exiting dopus -> process remains -> problem
Portable and PC Version
Overlay icons not hidden in tree and some still show in list
Label assignments based on script columns do not work after reloading Opus
Save the current folder format is broken in version 12.3.1
How to recover from corrupted files
My "Check for program updates" does not do anything
What have I done? Dimensions not showing
Support for 7zip-Zstandard codecs in archives
DOpus Needs To Be Started Twice Under Vista
DO11: Reading Rar not working
DOPUS does not recognize and list all network devices
Set Dopus back to defaults
Startup files
Startup files
Automatic folder size calculation
12.3.3 beta occasionally crashes when opening a new window
Recover FTP addressbook from system backup
Label and Status assignments break when sharing between two computers
Tumasoft Preset Viewer Preview not work inside of DOpus but work in Explorer
Dopus crashes when network folders not accessible
Lister Theme not applied (dop 12.6)
Release Notes open every time I start DOpus 12.7
How to reinstall dopus on same computer with same settings
Lister won't open on startup (portable mode)
Shutdown - Is There A Way?
Inconsistent naming of some external HDDs
Inconsistent naming of some external HDDs
Inconsistent naming of some external HDDs
Autodesk Context Menu
Windows shortcut Key in Vista
Volume Label Not Displayed on CD/DVD
Always re-use a single window instead of opening new windows
[Bug ?] Opus9's is case sensitive for extention icon
Cannot delete file. Cannot read from the source file or disk
FTP no longer shows directory list
Removing a Flash Drive
Startup files
Runas
How to backup or locate your Opus configuration (Simple)
#2

If you want to exit Opus from a batch file or script, there are commands to do that.

Do not simply kill the DOpus.exe and DOpusRT.exe processes. There is no need to and it risks corrupting your config data. Instead, use the commands below, or the menu items shown above, to cleanly exit Opus.

[ul][li]Exiting and restarting Opus from another program or installer:

Opus supports the Restart Manager API, so programs and installers should use that if they need to stop and start Opus programmatically, the same as they would for Windows Explorer.


[/li]
[li]Cleanly exiting Opus from a batch or script:

The RestartViaManager command-line tool can be used to shutdown and immediately restart DOpus.exe (but not DOpusRT.exe) via the Restart Manager API, if that is all you need to do. The tool runs synchronously so you will know Opus has finished restarting when the tool completes (unless there was an error).

For more complex needs, read on.

If DOpusRT.exe is running to provide desktop double-click functionality, tell it to exit with this command:

[ul][li]“C:\Program Files\GPSoftware\Directory Opus\DOpusRT.exe” /dblclk=off[/li][/ul]

(Note that launching Opus itself will also launch DOpusRT.exe if needed, so there is not normally any need to re-launch DOpusRT.exe manually.)


To exit DOpus.exe itself, run the Close PROGRAM command via DOpusRT.exe (this is not a typo; you use DOpusRT.exe to send the command, not DOpus.exe):

[ul][li]“C:\Program Files\GPSoftware\Directory Opus\DOpusRT.exe” /CMD Close PROGRAM[/li][/ul]

Note that the commands above run asynchronously. They dispatch requests to Opus and then exit without waiting for the requests to complete. If you need to wait until Opus has completely stopped running then you will need some additional logic. Here is one way to do it in VBScript:

[ul][li]ExitOpusAndWait.zip (750 Bytes)[/li][/ul]

[/li]
[li]Restarting Opus from a batch or script:

If your script is running from an elevated context (UAC), you should restart Opus using DOpusRT.exe’s /runopus argument, which ensures Opus does not run elevated:

[ul][li]“C:\Program Files\GPSoftware\Directory Opus\DOpusRT.exe” /runopus[/li][/ul]

Otherwise, how you choose to restart Opus depends on which windows (if any) you want to (re-)appear. If you run DOpus.exe with no arguments then a window will always appear, even if Preferences specifies that nothing should at startup. To suppress that behaviour, run DOpus.exe with the noautolister argument:

[ul][li]“C:\Program Files\GPSoftware\Directory Opus\DOpus.exe” noautolister[/li][/ul][/li][/ul]

Full information about the command-line arguments is in the manual.

Info about the different Opus EXE files is here.


Function to import config from file
DO 10 causes high MSTSC cpu usage
Feature request - if process exists