I have two paths:
fred\\frog
and
..\\frag
I can join them together in PowerShell like this:
Well, one way would be:
Join-Path 'fred\frog' '..\frag'.Replace('..', '')
Wait, maybe I misunderstand the question. In your example, is frag a subfolder of frog?