I have recently purchased the Portable version of DOpus and have created a link on the desktop to access the portable version on the USB drive. I would like to be able to start this portable version with a command line arg (d:\DOPUS.exe ) for a specific directory (network path) similarly to the way the installed version works. This would allow the path to be opened automatically when DOpus is opened. I know I can do this by saving the listener with the defined path but looking for a more dynamic solution. Is this possible on the portable version?
You can pass arguments to the dopus.exe and dopusrt.exe in the DOpus folder.
The dopus.exe in the root of the drive is mainly there as a convenience, so you don't have to go into the sub-folder. (It also automatically works out if the 64-bit or 32-bit version is needed, but it's almost always going to be the 64-bit one these days, and does some other things if settings are turned on via the special .ini file next to it, but if you aren't using those then you don't need to worry about them.)
Thanks Leo, this corrected my issue and the the portable version is very usable for me now. I'm not certain what the difference is between the "dopus.exe" and "dopusrt.exe" in the DOPUS directory. The only executable that started the program was the "dopus.exe". If I wanted to use the special settings in the .ini file, how would I go about that using the exe from inner directory?
DOpusRT.exe is a small program that can send commands to Opus, among other things. For things where both programs can do the same thing, it's usually quicker to run dopusrt.exe than dopus.exe, if dopus.exe is already running.
See DOpusRT Reference in the manual for more detail.
I think you would have to launch Opus via the dopus.exe in the root of the drive, then ask it to do anything else separately.
You can configure Opus so it runs in the background and doesn't open any windows at startup, if you want it to only open something when requested via the command line after launching.
(Of course, if you always want the same thing, then just make that the default thing that it opens every time.)
You can also run scripts during startup which may be another way to do what you need, depending on the exact details.