Delete files or folder recursively on Windows CMD

后端 未结 12 1389
悲哀的现实
悲哀的现实 2020-12-02 08:30

How do I delete files or folders recursively on Windows from the command line?

I have found this solution where path we drive on the command line and run this comman

12条回答
  •  清歌不尽
    2020-12-02 08:35

    If you want to delete a specific extension recursively, use this:

    For /R "C:\Users\Desktop\saleh" %G IN (*.ppt) do del "%G"
    

提交回复
热议问题