delete a directory windows terminal code example
Example 1: delete non empty directory cmd
rm -rf directoryname
Example 2: delete all files in a directory cmd
del /S C:\Path\to\directory\*
rm -rf directoryname
del /S C:\Path\to\directory\*