windows delete a file in all subfolders code example
Example 1: remove folder with content cmd
rmdir folder/path /S /Q
Example 2: how to delete dir in windows cmd
to remove an unempty file from cmd directory
$ rmdir /S nonemptyfile
rmdir folder/path /S /Q
to remove an unempty file from cmd directory
$ rmdir /S nonemptyfile