This article will show you how to remove a directory using Bash under Linux / Unix or Windows.
rm -r ./DirectoryToDelete
-rflag causes the operation to be performed recursively - files inside a directory are also deleted
rm -r /path/to/DirectoryToDelete
In this example, we used Bash run under Windows (installation instruction here).