Typically \WINNT\Temp is availible for Windows NT/2000/XP. I think Windows 95/98/ME have a \Windows\Temp folder. To figure out exactly which version of windows you are on, you'll need to check the registry or use Win32::GetOSVersion()