title: Dynamically change new folder name if folder with same name already exists
body: <p>Is there an way to dynamically change a new folder name if a folder with the same name already exists? For example, if I were to create a new file using <code>fso.CreateFolder</code>, would there be any way for the script to check for the folder and add an extra character, e.g from ("example") to ("example a"). I realize that I could use a file name from a variable and add characters like so:</p>
  
  <pre><code>dim filename
  filename = ("example")
  folderexists = fso.FolderExists(filename)
  
  if (folderexists) then
  fso.CreateFolder(filename + "a")
  else
  fso.CreateFolder(filename)
  endif
  </code></pre>
  
  <p>but this would only work once, and after that would just continue to create and overwrite (filename + "a"). I would like the script to be able to detect, so for example:</p>
  
  <pre><code>first folder = (filename)
  second folder = (filename + "a")
  Third folder = (filename + "aa")
  fourth folder = (filename + "aaa")
  </code></pre>
  
  <p>and so forth.</p>