title: How do I rename a file using VBScript?
body: <p>I am trying to rename a file and was using the below code but it does not seem to work. Can someone please tell me why? What is the correct way to rename a file from VBScript?</p>
  
  <pre><code>FSO.GetFile("MyFile.txt).Name = "Hello.txt"
  </code></pre>
  
  <p>I am using this thread for reference: <a href="https://stackoverflow.com/questions/16527931/rename-files-without-copying-in-same-folder">Rename files without copying in same folder</a> </p>