title: Can you please tell me what this error means?
body: <p>Can you please tell me why I am getting the following error?</p>
  
  <p>VBScript runtime error: This array is fixed or temporarily locked: 'temp'</p>
  
  <p>This is the code that is generating the error. I am unsure of how to resolve it.</p>
  
  <p>I am just trying to unpack a file that is in DRY folder and move it to ACS folder.
  Thank you very much</p>
  
  <pre><code>Set FSO = CreateObject("Scripting.FileSystemObject")
  Set fldr = FSO.GetFolder("C:\Ebooks\DRY\")
  For Each fil In fldr.Files
      If LCase( Right( fil.Name, 4 ) ) = ".zip" Then
          zipFilePath = fil.Path
          temp = file.Name
          temp = Left( temp, LEN(temp) - 4 ) ' remove the .zip
          temp = Split( temp, "_" ) ' split base name away from month-day-year
          temp = temp( UBOUND(temp) ) ' get just month-day-year
          temp = Split( temp, "-" ) ' get month day and year separately
          mn = CINT(temp(0)) ' get the month number
          dirName = MonthName(mn,True) &amp; temp(2) ' True means get 3 letter abbrev for month
          Response.Write "Unpacking " &amp; fil.Name &amp; " to directory " &amp; dirName &amp; "&lt;br/&gt;" &amp; vbNewLine
          objZip.UnPack zipFilePath, "D:\ACS\" &amp; dirName &amp; "\"
      End If
  Next
  </code></pre>