Force Delete Granularity

I would like to be able to delete the contents of a folder without deleting the folder itself; i.e. delete “D:\Logs.” without deleting “D:\Logs”.