title: Deleting entire folder in Visual Studio Post-build event
body: <p>I'm trying to delete a folder in my output directory using the following command line:</p>
  
  <pre><code>del /F "$(TargetDir)Content\"
  </code></pre>
  
  <p>Tho I always end up exiting with error code 1. I've tried several different ways, without /F, with/without slash both before and after, etc.</p>
  
  <pre><code>Error   1   The command "del /F "E:\proj\bin\Windows\Debug\Content\"" exited with code 1.
  </code></pre>
  
  <p>There are a lot of questions regarding deleting files in post-build event command lines in visual studio, which works fine, but I can't seem to delete a folder without getting code 1.</p>
  
  <p>Any help is appreciated!</p>