在写bat时,想了一下,怎么列举这种需求呢?

后来在测试时发现,

dir /a-d 其实就是所有的类型,但不包含目录,即是


而且发现

dir /a 却是所有的参数.


所以,del /a /f 即是删除所有类型.