Command Line launch of directory opus to view a folder

from windows command line (cmd.exe)
what do I run to open up the current folder in directory opus?
or... how do I give opus a directory as a parameter

c:> "C:\Program Files\GPSoftware\Directory Opus\dopus.exe" "."

does not work

You can run any Opus command from the command-line using dopusrt.exe (not dopus.exe), like this:

"C:\Program Files\GPSoftware\Directory Opus\dopusrt.exe" /CMD <command>

And your command:

"C:\Program Files\GPSoftware\Directory Opus\dopusrt.exe" /CMD GO "%cd%"

I am trying to grab certain folder paths from an external program called Everything and display the respective folders in Dopus.

Everything says to use the following command for this
$exec("F:\Program Files\GPSoftware\Directory Opus\dopus.exe" "%1")

That works, however the folder opens in the left-hand lister in Dopus, while I would prefer to see the folder in the right-hand lister.

Is there a syntax for the command line to make Dopus show folders in the right-hand lister?

It's best to use dopusrt with the Go command, e.g.

$exec("%programfiles%\GPSoftware\Directory Opus\dopusrt.exe" /acmd Go PATH="%1" OPENCONTAINER NEWTAB=findexisting OPENINRIGHT TOFRONT)
1 Like

Awesome, thanks! This works like a charm.

Is there perhaps a way to have this Lister appear in "sort by Date Modified" view?

That said, I'd like to have "sort by Date Modified" as a general setting in Dopus for new listers, search results, flat views etc.

So maybe this should not be in the command line discussed here, but in the Dopus Settings?

I'd be grateful for a tip where to find that corresponding preference in the settings, if possible.

image

1 Like

:face_with_open_eyes_and_hand_over_mouth: Thanks!