tags:

views:

119

answers:

2

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?

+5  A: 

It depends where the temporary folder is configured:

echo %TEMP%

Usually it is:

C:\Documents and Settings\username\Local Settings\Temp
Darin Dimitrov
You can read this variable by using Path.GetTempPath()
J. Random Coder
+2  A: 

You need to get the value of environment variable %TEMP%. You can find that under My Computer - > Properties -> Advanced -> Environment Variables

Prabhu