how to get Temp folder path in windows using MFC RRS feed

  • Question

  • Hi,

    I want to get temp folder path in windows using MFC. like in my case my temp folder is at location "C:\Documents and Settings\sazahmed\Local Settings\Temp". How can I automatically get it in MFC..?? I am using visual studio 2008.



    Thursday, March 3, 2011 12:49 PM


  • GetTempPath should be what you're looking for.
    • Marked as answer by Sarfraz07 Thursday, March 3, 2011 1:36 PM
    Thursday, March 3, 2011 1:04 PM