PDA

Click to See Complete Forum and Search --> : how would i get the windows Temp folder path?


Cmdr0Sunburn
Aug 6th, 2001, 04:46 PM
how would i get the windows Temp folder path?

crptcblade
Aug 6th, 2001, 05:18 PM
use the GetTempPath API

but don't ask me how with C++ :rolleyes:

Cmdr0Sunburn
Aug 6th, 2001, 05:23 PM
i know how to get it in vb, but i need to know C++

gwdash
Aug 6th, 2001, 06:47 PM
try something like:


TCHAR tempPath[MAX_PATH];

GetTempPath(MAX_PATH, tempPath);