MS OS - Microsoft Forum to Usenet Gateway Header Right
Navbar Left Navbar Right


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



Reply
Old 06-02-2008, 01:39 PM   #1
shubhishubhi
Guest
 
Posts: n/a
Default Temp files in User's Temp Directory

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?
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2008, 05:15 PM   #2
Big Al
Guest
 
Posts: n/a
Default 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.

 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 06-02-2008, 05:31 PM   #3
Terry R.
Guest
 
Posts: n/a
Default 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.
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
temp directory Bill Cunningham Windows XP 4 05-25-2008 06:23 PM
Downloaded files go to local temp internet directory Deuxchat Windows Vista 4 03-28-2008 08:04 AM
Using the windows\temp folder for programs? (or use what temp directory in its place)? Bill in Co. Windows XP 10 01-24-2008 11:30 PM
RDP 6 Client Using Wrong User's Temp Directory Will Windows NT Server 1 10-29-2007 04:39 AM
Temp and Temp internet files André vd Hoeven Windows NT Server 1 08-31-2007 09:46 AM


All times are GMT -5. The time now is 12:26 PM.


Powered by vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Skin designed by CompletevB
Copyright © 2005-2008 Robert Schwarz, Sr. - All rights reserved - MS OS is an independent web site and is not affiliated with Microsoft Corporation.