.net – Where does Path.GetTempFileName(…) create files under XP

filenettemp

Under Vista when you call GetTempFilePath files get created in: C:\Users\User\AppData\Local\Temp\

Does anyone know where they get created under XP?

Best Answer

It depends where the temporary folder is configured:

echo %TEMP%

Usually it is:

C:\Documents and Settings\username\Local Settings\Temp