../{movie}/{movie}

If I have a file
\\server\share\folder\Final.Portrait.2017.1080p.NF.WEBRip.DDP.5.1.H264-CMRG.mkv
and then I drag it into Filebot (GUI, of course), then I run the above preset, Filebot (1) properly renames the file and (2) creates a folder of the same name and (3) puts the new file in the new folder. However, the new folder is one level up in the file tree from where I ran the command. So instead of ending up with:
\\server\share\folder\Final Portrait (2017)\Final Portrait (2017).mkv
which is what I want, I end up with
\\server\share\Final Portrait (2017)\Final Portrait (2017).mkv
which is not what I want.
How should I change my code to achieve the desired result?
OS: Windows 10 Pro 64 bit
Filebot: Microsoft Store purchased, but version unknown - there's no "help, about" for me to check the program version and it doesn't show up in Control Panel \ Programs.