Get Path of current tab (in UNC format)

I have a DOS batch that receives a UNC formatted path to map a network drive.

I'm trying to run it from a DOpus button and pass the UNC path using "Clipboard FILE COPYNAMES=path,unc", but this only works if I have a file or folder selected. I want to get the path of the active tab, regardless of what is selected, if anything.

I hoped to find find a command like Clipboard TAB_PATH COPYNAMES=path,unc" but cannot find anything. I've seen a few posts about UNC paths, but nothing I could find that says how to get the path of the active tab.

Appreciate being pointed in the right direction to fix this.

Thanks. Greg.

Clipboard FILE {sourcepath} COPYNAMES=unc

From the manual: Codes for passing paths

Super, thanks
(Explored that page but couldn't get my head around it - back to dopus basics for me)