Friday, May 19, 2017

Delete a ton of files in a ton of folders quickly

Be very careful with these commands as they will delete all files!!

From a windows cmd prompt or batch script.

Delete all files in all child folders without prompting

del /S /q *

Delete all folders recursively without prompting

rmdir /s /q .