delete a dir in command line code example
Example: remove directory in cmd
# for removing empty directory
$ rmdir myDirectory
# to remove a directory that contains files and subdirectory
$ rm -r myDirectory
# for removing empty directory
$ rmdir myDirectory
# to remove a directory that contains files and subdirectory
$ rm -r myDirectory