in reply to Getting the System Temp Variable
I don't know too much about the Win32 stuff, but I "recently" needed something similar. See Win32::GetFolderPath() (e.g. at activestate.com) with the CSIDL_* variables