P
Phill W.
Greetings All;
Is there a variation on Path.Combine() that can "boil down" relative
paths that include parent path references ('..\'s) in them?
?Path.Combine("C:\PF\Co\Apps\App1\bin", "..\..\common\data")
"C:\PF\Co\Apps\App1\bin\..\..\common\data"
What I'd /like/ is :
?Path.CombineNCompress("C:\PF\Co\Apps\App1\bin", "..\data")
"C:\PF\Co\Apps\common\data"
Any suggestions?
TIA,
Phill W.
Is there a variation on Path.Combine() that can "boil down" relative
paths that include parent path references ('..\'s) in them?
?Path.Combine("C:\PF\Co\Apps\App1\bin", "..\..\common\data")
"C:\PF\Co\Apps\App1\bin\..\..\common\data"
What I'd /like/ is :
?Path.CombineNCompress("C:\PF\Co\Apps\App1\bin", "..\data")
"C:\PF\Co\Apps\common\data"
Any suggestions?
TIA,
Phill W.