Delete files or folder recursively on Windows CMD

后端 未结 12 1390
悲哀的现实
悲哀的现实 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:46

    You could also do:

    del /s /p *.{your extension here}
    

    The /p will prompt you for each found file, if you're nervous about deleting something you shouldn't.

提交回复
热议问题