Saturday, April 6, 2013

Delete all folders named XXX in folder YYY by DOS command

From the command line:

for /D %f in (XXX*) do rmdir %f /s
 
You can do this via the CMD line.

RD /S /Q "Full Path of Folder"
 

No comments:

Post a Comment