Get folderpath if

Hello

How can i get filename with extension and fullpath (if selected) otherwise get fullfolder path ?

"C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe" /command:update /path:"{sourcepath$}"

Use "{sourcepath$}{file}"

THX Leo :slight_smile:

Leo, second question:

It's possible to get multi filesname like this:

TortoiseProc.exe /command:commit /path:"c:\svn_wc\file1.txt*c:\svn_wc\file2.txt"

If is possible, but not with a * between each path, and not if you still want to fall back on the path by itself if nothing is selected.

If you want to do things that complex, I'd recommend creating a VBScript (or similar) which you have Opus call, passing {sourcepath$} and {allfilepath} as arguments, and then have the VBScript generate the correct command based on what it is/isn't given.