title: Drive Letters Usage with the FileSystemObject - VBScript
body: <p>I am migrating from a Win 2003 server to a Win 2008 R2 server.  I'm running a classic ASP application.  In the 2003 server the following code worked for creating a file:</p>
  
  <p>&nbsp;&nbsp;&nbsp;&nbsp;CONST SCRATCH_DIR = "E:\Temp\"<br>
  &nbsp;&nbsp;&nbsp;&nbsp;Set FSO = CreateObject("Scripting.FileSystemObject")<br>
  &nbsp;&nbsp;&nbsp;&nbsp;Set TFL = FSO.CreateTextFile(SCRATCH_DIR &amp; "Debug.txt", True)<br></p>
  
  <p>On the NEW server the Set TFL line gives me this error:</p>
  
  <p>&nbsp;&nbsp;&nbsp;&nbsp;Microsoft VBScript runtime error '800a0046'<br>
  &nbsp;&nbsp;&nbsp;&nbsp;Permission denied<br>
  &nbsp;&nbsp;&nbsp;&nbsp;/inc/vbutil.inc, line 110<br></p>
  
  <p>If I remove the Drive designation "E:\" from the CONST, the procedure works just fine; (except it writes to the C:\ drive) so I'm sure the error message is correct.</p>
  
  <p>Could anyone please point me at where/how I'd change permissions for this (E:\Temp) directory?</p>
  
  <p>Thanks very much in advance,</p>
  
  <p><em>(A dumb application programmer;)</em></p>