As I know, in TC, its "%commander_path%"
That's good when you want to expend the plugins with green programs.
In what context do you need to find the Opus path? Within Opus itself? Within your own program? Within a VBScript or similar?
If it's within an external program or script then the proper way to look-up the path is via this registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\DOpus.exe
If it's within an Opus button then you can use the /home alias.
Here is the context:
I have installed my DOpus on D:\Program Files\GPSoftware\Directory Opus
And I have some green plugins like "Regworshop" "Imetool"......, which I use very usually,I put them in D:\Program Files\GPSoftware\Directory Opus\Plugins and built the button in DOpus for eachone
When i export DOpus to USB flash (of course the driver name of USB flash can be D: E: F:......on different computers), I want to copy these plugins to USB flash too, so that i can use them on another computer, but there path in the button proterty are "D:\Program Files\GPSoftware\Directory Opus\plugins" So the button will be useless except that, when the computer has only one driver C:\ , or , I have to change the button proterties one by one
[quote="nudel"]In what context do you need to find the Opus path? Within Opus itself? Within your own program? Within a VBScript or similar?
If it's within an external program or script then the proper way to look-up the path is via this registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\DOpus.exe
If it's within an Opus button then you can use the /home alias.[/quote]
Just use /home\plugins in the Opus buttons.
got it , thank you so much