title: Automatic create folders in directory c#
body: <p>I need a script that can create a sub folders automaticaly.</p>
  
  <p>For example:</p>
  
  <p>I have a base folder stored at <code>c:/upload</code>. I tranfer to script folders string: <code>/2011/23/12/3</code>. Script should parse this string and create folders and subfolders in <code>c:/upload</code> like string is (should be <code>c:/upload/2011/23/12/3</code>)</p>
  
  <p>How can I make this? </p>
  
  <p>Now I use if/else and check if folder/subfolder exist, but the script is tooooo big and that is hard to manage.</p>