Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - Clean Temp Directory?

Reply
 
Old 01-28-2009   #1 (permalink)
fabrizio.db


 
 

Clean Temp Directory?

Hi all, in my windows forms application i save many files in Windows
Temp Folder, i have to clean periodically the folder from my files or
i can let windows to do this job?

Many Thanks.

My System SpecsSystem Spec
Old 01-28-2009   #2 (permalink)
Cor Ligthert[MVP]


 
 

Re: Clean Temp Directory?

Probably not in a .NET programming discussion group, but you can find an
appropriate Windows group this way.

As you appear to be using a web interface, start here:

http://www.microsoft.com/communities...s/default.aspx

In the tree on the left, first open the English category, then open Windows.
In Windows, find and open the category for your version of Windows.
There, you'll find a group to post your question.


<fabrizio.db@xxxxxx> wrote in message
news:2746d87d-c63b-4dbd-b7f7-372f6d6b07a6@xxxxxx
Quote:

> Hi all, in my windows forms application i save many files in Windows
> Temp Folder, i have to clean periodically the folder from my files or
> i can let windows to do this job?
>
> Many Thanks.
My System SpecsSystem Spec
Old 01-28-2009   #3 (permalink)
Andrew Morton


 
 

Re: Clean Temp Directory?

fabrizio.db@xxxxxx wrote:
Quote:

> Hi all, in my windows forms application i save many files in Windows
> Temp Folder, i have to clean periodically the folder from my files or
> i can let windows to do this job?
Your app should clean up after itself.

The temp folder is exactly that: for temporary files. If your files are not
meant to be temporary then they should be stored somewhere else, for example
in the user's folder in the documents and settings folder.

Sometimes your program may crash and leave files around; if you can
positively identify those old files the next time your app starts, you might
want to ask the user if it is OK to delete them.

Andrew


My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
How to access the %temp% directory using PowerShell PowerShell
Windowc temp directory Vista file management
LPKSetup Log Files in TEMP directory Vista performance & maintenance
Installing an Application copies entire CD to temp directory Vista performance & maintenance
Temp Directory acts like media directory Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46