I would like to know what command-line arguments to use in a Windows Shortcut to not only open Dopus at a specified location, but to force a particular view as well.
For example, I last used a Commander view with a File Tree, but when I launch the shortcut, I want it to open in Explorer view and have the lister open to a specific folder.
I can get the specific folder part to work by simply adding the folder in quotes to the Target field of the shortcut, but I can't figure out how to force an explorer view when Dopus opens.
Thanks,
Jeff
PS - I spent a long time searching and reading posts on this forum, but nothing addressed this particular issue. I did, however, learn a lot of neat tricks for customizing toolbars and adding custom functions to buttons!
You could do this with command-line arguments but if you just want to be able to double-click an icon to launch a particular folder with a particular view then it is probably easier to use the Layouts system instead.
Set up a lister as you want it, then choose Settings -> Lister Layouts -> Save This Lister and give it a name.
Then go to Preferences -> Listers -> Layouts and drag the layout from the list to your desktop to create a shortcut to it.
It's interesting - before I posted for the first time I tried the same syntax that you gave me. Unfortunately, I used dopus.exe instead of dopusrt.exe for the target.
I guess it helps a lot if you choose the correct target.
I don't understand why when I try this...it's not working. When I try to create a shortcut on the desktop using dopusrt.exe I get "dopusrt.exe is not found" error message. Why am I getting this error?
[quote="JohnZeman"]You need to enclose the full path to the dopusrt executable in double quotes like this:
"c:\directory opus\dopusrt.exe" /cmd go c:\downloads
For typical installations the full path would be: "C:\Program Files\GPSoftware\Directory Opus\dopusrt.exe"[/quote]
Now it works. Thanks. Only one tiny question left...how do I get this shortcut to open another lister with a different directory using the dual pane setting?
First of all...your example ONLY opens up DOpus with the directory in ONE pane...while the other pane hasn't been specified. It's that particular condition I'd like to rectify. I want to include in the shortcut the OTHER lister directory for DOpus to open. It opens up the lister on the left fine...now I want the same shortcut to allow DOpus to open a different directory in the RIGHT pane. Now...I'm aware of doing this via DOpus by setting up the listers and saving them in DOpus...and thereby dragging out the lister setting from the Preferences. I want to be able to design the same deal using a command line switch.
This worked. Thanks. Now I have a new problem though: when I launch the shortcuts from the desktop...each shortcut is only launching the listers in ONE Dual Pane. I don't understand this behavior....I thought if I clicked a different DOpus shortcut...it would launch a different lister in dual panes because that's the way I want them...opening multiple listers on the desktop is how I like doing it.
Is there a preference that I'm overlooking in DOpus that takes care of this and allows me to open multiple listers when I launch the shortcuts from the desktop? Or is there a raw command that I have to put into the shortcut that lets DOpus know I want to launch multiple listers when I select the different desktop shortcuts?
I added it myself when I thought about that command. It works correctly now.
One thing I find really neat..and wish I could improve on...when I right click the desktop...I get the menu option to open different listers I create. Is there any way of adding websites to this right click option?! God...if I could understand the programming aspect of this...I really could fly with Directory Opus.