title: Renaming folders with VBScript
body: <p>I need to be able to often renaming multiple folders in ASP. None of the methods that I've found are working for me. Here is the current method that I am trying-</p>
  
  <pre><code>Set FS = CreateObject("Scripting.FileSystemObject")
  FS.MoveFolder "/images/715", "/images/V14"
  </code></pre>
  
  <p>This, as well as others that I've tried, always gives me a "path not found" error. I know that the directory that the script is in has these folders in it because I've been renaming them manually. Does the script need to know the full path? What if I don't know what the full path may be?</p>
  
  <p><strong>Update:</strong></p>
  
  <p>The script runs in a directory named "/ifp". I also tried this, with and without the "/ifp" and both forward and back slashes, and it also gave path not found. Once this works on my testing server I send it to the guy with the production server so I can't use any static directory names other than the "/images/????"</p>
  
  <pre><code>Dim sCurPath
  sCurPath = CreateObject("Scripting.FileSystemObject").GetAbsolutePathName(".")
  FS.MoveFolder sCurPath &amp; "\ifp\images\715", sCurPath &amp; "\ifp\images\V14"
  </code></pre>