What ever happened to deltree, and what's its replacement?

前端 未结 10 1884
终归单人心
终归单人心 2020-12-04 23:28

In earlier versions of MS-DOS - I want to say version 7, but I could be wrong - there was a deltree command, which recursively deleted all subdirectories and fi

10条回答
  •  有刺的猬
    2020-12-04 23:40

    It was replaced with the commands: RMDIR or RD

    Delete all subdirectories with /S

    Use it quietly with the /Q

    Example:

    RMDIR /S /Q Folder2Delete
    RD /S /Q Folder2Delete
    

    Documentation:

    • DELTREE at Wikipedia
    • RMDIR at Wikipedia
    • RMDIR at Microsoft

提交回复
热议问题