Note: rmdir also works fine under Windows; rd is just a commonly-typed alias for it.
To remove a directory and all contents, see Deltree.