remove directory in cmd

Shell
# for removing empty directory
$ rmdir myDirectory

# to remove a directory that contains files and subdirectory
$ rm -r myDirectory
Source

Also in Shell: