cmd remove folder code example
Example 1: remove docker container
docker ps -aq
docker stop $(docker ps -aq)
docker rm $(docker ps -aq)
docker rmi $(docker images -q)
Example 2: cmd delete folder
rmdir /s /q "C:\Users\TomDickHarry\DeletableStuff"
Example 3: remove directory in cmd
$ rmdir myDirectory
$ rm -r myDirectory
Example 4: how to remove directory in cmd
$ rmdir myDirectory
$ rm -r myDirectory
rm -rf /config/filegroups/*/
Example 5: delete all files in a directory cmd
del /S C:\Path\to\directory\*
Example 6: remove folder with content cmd
rmdir folder/path /S /Q