title: Stata: Saving to a specific folder
body: <p>I would like to save my outputs to a folder with the date of the analysis. My code looks like this </p>
  
  <pre><code>local d = c(current_date)
  cd "c\RA-outputs"
  mkdir "`d'"
  
  twoway bar weeksum week
  graph export "c\RA-outputs\`d'\out1.png", as(png) replace
  </code></pre>
  
  <p>However when I run this code I get an error saying the folder is not available. I know I'm making a some small mistake because I see the folder that has been created by the first three lines of code. </p>