Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Question About "Windows Temp Directory"

Author
Message
MSon
20
Years of Service
User Offline
Joined: 13th Jul 2004
Location: Earth, (I Think).
Posted: 8th Apr 2008 12:30
In my Programme, I'm thinking about using the Windows Temp Directory instead of requiring my own temp directory, but i have a question about this.

Does windows automatically empty the "Windows Temp Directory", and if so how often.

Sorry if this is the wrong board for this, but as its a windows question and not a programming question i was unsure where to post.

Everyone Be Cool, You, Be Cool.
Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 8th Apr 2008 12:45
Don't you have to empty that manually? When I think about it I guess I'm not really sure.

[center]
RalphY
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: 404 (UK)
Posted: 8th Apr 2008 15:34
I *think* it's up to the app when it gets emptied. i.e. you create a sub folder within it, and when your done clear it out yourself. Only reason I think this is there was a story on the Inquirer, I think, a while back about a guy complaining because the Creative driver deleted all his porn as it removed the entire temp folder instead of just its sub-directory.

I imagine running disk cleanup will also empty it too.

Oh boy! Sleep! That's when I'm a Viking! | Super Nintendo Chalmers!
MSon
20
Years of Service
User Offline
Joined: 13th Jul 2004
Location: Earth, (I Think).
Posted: 8th Apr 2008 15:42 Edited at: 8th Apr 2008 16:10
Thanks Guys

I'll just add a few lines at the start of my programme check if my folder in the temp directory exists, If not then create it, if it does then empty any contents.

Edit: Posted this here as im at work, (Can then access it at home later)



Everyone Be Cool, You, Be Cool.
sp3ng
18
Years of Service
User Offline
Joined: 15th Jan 2006
Location:
Posted: 13th Apr 2008 14:12
and thats why you dont put your porn in the temp folder


Add Me

Login to post a reply

Server time is: 2024-11-20 04:30:32
Your offset time is: 2024-11-20 04:30:32