Delete files or folder recursively on Windows CMD

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

    The other answers didn't work for me, but this did:

    del /s /q *.svn
    rmdir /s /q *.svn
    

    /q disables Yes/No prompting

    /s means delete the file(s) from all subdirectories.

提交回复
热议问题