Cmd delete all files in folder code example
Example 1: delete all files in a directory command
rd /s/q Foldername
Example 2: delete all files in a directory cmd
del /S C:\Path\to\directory\*
Example 3: remove folder with content cmd
rmdir folder/path /S /Q