DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Temporary files are not deleted  (Read 6,888 times)

Pannekoek

  • Participant
  • Joined in 2006
  • *
  • Posts: 1
Temporary files are not deleted
« on: July 25, 2006, 07:35 AM »
First of all I really like your tool I do use it almost every day.
Can somebody tell me if it is normal that there are 4 files of approx. 256kB per file per day that are written in the Local Settings/TEMP folder. These files (ILIST and ICACHE) appear every day again and are not deleted when Windows is closed. After a few days the amount of data really piles up this way. I do now solve it by periodically deleting these files but that is not handy at all.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Temporary files are not deleted
« Reply #1 on: September 10, 2006, 11:52 AM »
im thinking these may be windows explorer thumbnail caches, created automatically by windows when viewing the thumbnail browser, to speed up display; there are probably settings for it in windows somewhere, and it will probably clean up itself over time.

KejZ

  • Participant
  • Joined in 2009
  • *
  • Posts: 5
Re: Temporary files are not deleted
« Reply #2 on: August 02, 2010, 02:32 PM »
Hi mouser,

When I start SC, 8 .tmp files get created immediately. When I exit SC, they are deleted, so no big deal.

But why are they created in the first place? SC just sits in the systray, I may not even use it for weeks,
but these files stay open and locked and take about 2MB in C:\TEMP.

Hexdumping SC.exe shows strings ICACHE and ILIST, so SC is somehow in charge, not just
Windows Explorer. Why is it that no other tool creates these files?

Just curious...


mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Temporary files are not deleted
« Reply #3 on: August 02, 2010, 02:40 PM »
i believe they are related to the image/thumbnail processing.

KejZ

  • Participant
  • Joined in 2009
  • *
  • Posts: 5
Re: Temporary files are not deleted
« Reply #4 on: August 02, 2010, 02:54 PM »
Wow, fast reply!

Still, why no other software does this? I've just played with Explorer and various
Views (Icons, Thumbnails, etc.) and see no .tmp files, just a Thumbs.db. I use ZTreeWin as my
file manager and have a window to C:\TEMP open all day long, so I can see what is going on -- this
is my main work/download area and clean it constantly.

I don't want to nag you anymore, but I find it strange that SC, without the user doing a single
operation, creates those 8 files. Try it. It would make sense to do it on a first call to some DLL
but not at initial startup with no GUI, no? Maybe because I have it set to minimize to systray?

Since I also may run SC from a USB key, I'd like to avoid creating stuff on other folks' disks, if at all possible.

Keep up the great work!

Original address: https://www.donationcoder.com/forum/index.php?topic=4494.0