Удалить CMD не пустой каталог
rm -rf directoryname
Old-fashioned Otter
rm -rf directoryname
RMDIR /S path/to/directory
C:>rmdir /S nonemptydir
nonemptydir, Are you sure (Y/N)? y
C:>
sudo rm -R [Directory name]