windows del force yes code example
Example: windows del force yes
# Delete all files recursively and keep folders
del /S /Q c:\somedirectory\*.*
# Force deleting an entire directory
rd /S /Q c:\somedirectory
# Delete all files recursively and keep folders
del /S /Q c:\somedirectory\*.*
# Force deleting an entire directory
rd /S /Q c:\somedirectory