title: Get the current temporary directory path in VBScript?
body: <p>The VB trick to get the path of the current temporary directory:</p>
  
  <pre><code>Private Declare Function GetTempPath Lib "kernel32" Alias "GetTempPathA" (ByVal nBufferLength As Long, ByVal lpBuffer As String) As Long 
  </code></pre>
  
  <p>fails in VBScript. So?</p>