I have just found out that doing it with a batch file is not possible for internal reasons in my case. So please forward this suggestion to do this with one single command-line. Thank you.
A command baked into a shortcut also cannot look up the registry values discussed at the start of this thread so there must be some details missing here.
@peter
You can wrap these two lines into a single DO user command and then you also have a single commandline again instead of two. Whatever the final solution here will be.. o)
[quote="leo"]What are you actually trying to do, overall?
A command baked into a shortcut also cannot look up the registry values discussed at the start of this thread so there must be some details missing here.[/quote]
That's true. My program reads the registry value and THEN bakes the command-line into a shortcut, according to whether DOpus is installed or not.
[quote="tbone"]@peter
You can wrap these two lines into a single DO user command and then you also have a single commandline again instead of two. Whatever the final solution here will be.. o)[/quote]
Does it have to use a shortcut? Could it use a .dcf file instead, containing an Opus command, which will also be an icon you can double-click? (Why was a .bat file ruled out?)
It must be generally usable by Windows users, whether they have DOpus, Explorer or TC. It must be usable from the program and from the file manager. It must have a very familiar aspect. This prerequisites equation outputs: Shortcuts.
Is it possible to open the "Set Metadata" dialog of DOpus for a specific file from the command-line?
I am making a tool (this is not the one for which I asked above) which watches a specific folder. When a file is changed or created inside this specific folder, I want the "Set Metadata" dialog of DOpus to automatically come up to allow me to enter or edit metadata for this file. Or is this already possible with DOpus?