Command to delete multiple folders with wildcards

for /D %f in (*-a) do rmdir %f /s /q

Above command deletes all folders ending with -a

Comments

Popular posts from this blog

HP NC375i adapter in Proliant DL580 G7 stops responding

[Batch file] - Output of a command to variable