I'd like to delete the contents for 4 directories in Server 2008 R2.
These directories and their sub-directories are shared.
Trying to delete gives a warning prompt that they are shared and users will not be able to access them any longer.
There are hundreds of directories to delete.
Is there a way to automate this?
del *.* /F /Q fails.