Delete all files in a directory

If you're using Windows you can use this Powershell script

Remove-Item dir\* -Recurse -Force

or if you are a Linux user

rm -r dir/*