title: Getting path of system TEMP variable
body: <p>I want to access the system TEMP variable in my C++ code. When I used getenv(&quot;TEMP&quot;) it gives the values of TEMP in user variable (&quot;C:\Users\xxxx\AppData\Local\Temp\&quot;) and not system variable.</p>
  <p>Similarly GetTempPath also returns the C:\Users\xxxx\AppData\Local\Temp\ where as I want to have the path of the TEMP variable from system (C:\Windows\Temp).</p>
  <p>How to get it?</p>