Button: Destination path Find and replace

Hi!

I please need help on finding and replacing a string in the current folder path and then navigating to the new path.

Something like this:
GO DESTPATH CURRENT PATTERN="Current" TO="Archive" FINDREP

I have folder structures as below and would like a button to quickly move for example between the "InFrom\Current\Company 15" to "InFrom\Archive\Company 15" folders:

InFrom
|.. Current
| |.. Company 1
| |
| |
| |.. Company 20
|.. Process
| |.. Company 1
| |
| |
| |.. Company 20
|.. Archive
| |.. Company 1
| |
| |
| |.. Company 20

OutTo
|.. Current
| |.. Company 1
| |
| |
| |.. Company 20
|.. Process
| |.. Company 1
| |
| |
| |.. Company 20
|.. Archive
| |.. Company 1
| |
| |
| |.. Company 20

Thank you, DOpus is great!
Kobus Smit

The PATTERN and FINDREP arguments are only understood by the Rename command. They won't work with the Go command. See the Opus Raw Commands section of the PDF manual where it lists the commands and the arguments that each one accepts.

I don't think there is a way to do what you want purely with Opus's internal commands. The best solution I can think of is to create a simple script (e.g. .vbs VBScript) or program and set Opus to run that with the current path as an argument. The script/program can then change the path as it needs to and then tell the Opus lister to change paths by running

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

:smiley: Thanx Leo, your suggestion worked great!