Parent
ChildParent
ChildOfAChildParent
移动以下结构到以下位置:在运行时
NewParent
NewChildParent <-- here
我得到以下以下
Copy-Item "\Parent\ChildParent\ChildOfAChildParent" -Destination "NewParent\NewChildParent" -Recurse
NewParent
NewChildParent
ChildOfAChildParent
这不是我想要的行为,我不知道如何实现。我只是想将文件和文件夹从ChildOfAChildParent转储到NewChildParent而不创建新的父目录。