How to get the Parent's parent directory in Powershell?

后端 未结 0 1988
既然无缘
既然无缘 2020-12-23 04:21

So if I have a directory stored in a variable, say:

$scriptPath = (Get-ScriptDirectory);

Now I would like to find the directory two

相关标签:
回答
  • 消灭零回复
提交回复
热议问题