remove all subdirectories windows command line code example
Example 1: delete all files in a directory cmd
del /S C:\Path\to\directory\*
Example 2: remove folder with content cmd
rmdir folder/path /S /Q
del /S C:\Path\to\directory\*
rmdir folder/path /S /Q