folder temporal of system operative windows

Hi, I need create temporal files in my computer, but i can not create folder. I need create this files in a folder temporal of system operative windows, i am not sure but i think is temporal store, i do not remember, can you help me
nolbertaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

cookreCommented:
That is usually c:\temp, but not always.

It is best to look at environment variable TEMP to get the path of the temp directory for the current user,
0
nolbertaAuthor Commented:
can you give an example (code in c#)
0
cookreCommented:
string tempdir=Environment.GetEnvironmentVariable("TEMP");

See:
http://msdn.microsoft.com/en-us/library/system.environment.getenvironmentvariable.aspx
0
nolbertaAuthor Commented:
Hi, sorry i was on vacation, my new question is:
the folder should be in a web server with operative system windows, so what environment variable suggest. I am programming in a web application
0
cookreCommented:
The same one - TEMP
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.