在Windows cmd上递归删除文件或文件夹 [英] Delete files or folder recursively on windows cmd

查看:514
本文介绍了在Windows cmd上递归删除文件或文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从Windows从命令行递归删除文件或文件夹。
我已经找到这个解决方案,其中路径我们在命令行上运行并运行此命令。
我给了.svn文件扩展文件夹的例子

How to delete files or folders recursively on windows from command line. I have found this solution where path we drive on command line and run this command. I have given example with .svn file extension folder

对于/ r%R在(.svn) (rd / s / q%R)

推荐答案

请执行以下步骤: / p>

Please execute the following steps:


  1. 打开命令提示符

  2. 将目录更改为所需路径

  3. 输入以下命令

  1. Open the Command Prompt
  2. Change directory to required path
  3. Give following Command

del / S * .svn

这篇关于在Windows cmd上递归删除文件或文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆