cmd删除目录

326 阅读1分钟
rmdir /s/q <path>
  1. /s 删除所有子目录和文件
  2. /q 不再询问

PowerShell 7

rmdir <path>