40
12
Let's say there are some folder in the D: drive:
D:\Air
D:\Abonden
D:\All
D:\Whatever
I want to delete all folders starting with "A" (including all subfolders and files). I tried this command:
rmdir D:\A* /s /q
I get an error, though :(
The filename, directory name, or volume label syntax is incorrect.
The del command works with *, but I need to delete folders as well.
Is there a way to achieve that via the rmdir command?
2Uniformity and common sense were never at play in the development of the Windows or DOS command shells. The sad part is there were model systems out there when these shells were developed that would have shed light on intelligent designs. Of course the shell is just one example of the horrible to non-existent thought process that went into slapping together this garbage -- I wish I could tell you what I really think, ha ha. – Rick O'Shea – 2017-01-17T17:10:20.223