how to force delete a dir in windows 10 from cmd code example Example: delete all files in a directory cmd del /S C:\Path\to\directory\*