RD - Remove Directory | Windows CMD | SS64.com RD. Delete folder(s) Syntax RD pathname RD /S pathname RD /S /Q pathname Key /S : Delete all files and subfolders in addition to the folder itself. Use this to ...