RMDIR or RD (win cmd) Command

Posted by serdar on Super User See other posts from Super User or by serdar
Published on 2014-06-06T07:44:46Z Indexed on 2014/06/06 9:29 UTC
Read the original article Hit count: 320

Filed under:
|
|

I want to delete all folders starting with "A" letter (including subfolder/files). For example There are three folder in D directory (D:\Air, D:\Abonden, D:\All....) And we need to delete all folders with "A"

I try this: ==> RMDIR D:\A* /s /q <== but I get error :( del command works with * but I dont want to delete only files also I want to delete folders ...

Cant we do this via RMDIR?

Thak you in advance

© Super User or respective owner

Related posts about Windows

Related posts about command-line