■前言

   移行リハーサル作業。

    回复作业前后,各个文件夹的状态

 

■xcopy

把紫色的内容,从path1 复制到 path2 中

使用xcopy对文件夹进行复制,del、rd 删除文件、文件夹

---

・test01
xcopy .\test01\path1\folder1 .\test01\path2\folder1\ /R
 扩展 :xcopy .\test01\path1\folder1 .\test01\path2\folder11\ /R

・test02
xcopy .\test02\path1 .\test02\path2\ /R /Y /S /E

---

 

■删除

使用xcopy对文件夹进行复制,del、rd 删除文件、文件夹

删除红字部分的内容

del .\test01\path2\folder1 /q
rd .\test01\path2\folder1

---

 

相关文章:

  • 2022-12-23
  • 2019-08-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-18
  • 2022-12-23
猜你喜欢
  • 2022-02-05
  • 2021-11-23
  • 2021-09-14
  • 2022-02-26
  • 2021-05-29
相关资源
相似解决方案