Jump to content

Temp files in User's Temp Directory


Recommended Posts

Guest shubhishubhi
Posted

If I put some files in the User's temp directory [these files are needed for

some of my application's features], then will it be considered illegal?

 

Is there support for automatic clean up of Temp folder contents in Windows XP?

  • Replies 2
  • Created
  • Last Reply

Popular Days

Guest Big Al
Posted

Re: Temp files in User's Temp Directory

 

shubhishubhi wrote:

> If I put some files in the User's temp directory [these files are needed for

> some of my application's features], then will it be considered illegal?

I'm not sure who told you that putting something in the temp folder is

going make anything in XP illegal. Every program and every install

uses the temp folder for dumping junk. Probably why the 2nd part of

this response is true.

>

> Is there support for automatic clean up of Temp folder contents in Windows XP?

 

Windows cleanup clears out the temp folder. I'm sure it *tries* to

remove files and skips those in use, but anything in the temp folder is

a candidate for delete.

 

If your software *needs* these files in temp, I'd think serious about

it. A user can screw that up real easy. You say "my application's",

and I take it then maybe you wrote it, I would suggest you move them to

a more proper place if you did write it, like:

C:\documents and settings\username\Application Data\Yourfolder

or ...............................\Local Settings\Application Data

These are the more proper places to put application data.

Guest Terry R.
Posted

Re: Temp files in User's Temp Directory

 

The date and time was 6/2/2008 10:39 AM, and on a whim, shubhishubhi

pounded out on the keyboard:

> If I put some files in the User's temp directory [these files are needed for

> some of my application's features], then will it be considered illegal?

>

> Is there support for automatic clean up of Temp folder contents in Windows XP?

 

Illegal? No. Poor programming? Yes. Make sure YOUR application

removes the temp files when closing. That's why they're in a "temp" folder.

 

I configure all my client machines to clean temp folders on Startup.

But the majority of computers out there don't. It's bad enough Windows

and MSO programs are the worst offenders.

 

--

Terry R.

 

***Reply Note***

Anti-spam measures are included in my email address.

Delete NOSPAM from the email address after clicking Reply.


×
×
  • Create New...