Tom*_*omd 5 powershell copy-item
考虑这个目录结构:
C:\temp\A\file.txt C:\临时\B
如果我运行命令
Copy-Item "C:\temp\A" "C:\temp\B\A" -Recurse -Force -ErrorAction Stop
Run Code Online (Sandbox Code Playgroud)
我有
C:\temp\A\file.txt C:\temp\B\A\file.txt
如果从这个新情况开始,我第二次运行相同的命令,我最终会得到
C:\temp\A\file.txt C:\temp\B\A\file.txt C:\temp\B\A\A\file.txt
为什么我运行相同的命令结果却不同?
| 归档时间: |
|
| 查看次数: |
331 次 |
| 最近记录: |