I have two paths:
fredfrog
and
..frag
I can join them together in PowerShell like this:
join-path 'fredfrog' '..frag'
That gives me this:
fredfrog..frag
But I don't want that. I want a normalized path without the double dots, like this:
fredfrag
How can I get that?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…