remove all files command windows code example
Example 1: delete all files in a directory cmd
del /S C:\Path\to\directory\*
Example 2: how to delete dir in windows cmd
to remove an unempty file from cmd directory
$ rmdir /S nonemptyfile
del /S C:\Path\to\directory\*
to remove an unempty file from cmd directory
$ rmdir /S nonemptyfile