You are here 705137

[Fixed] cortable v6.28 Windows Temp File Cleaning 6n533h

8 posts / 0 new
Last post
lmacri
Offline
Last seen: 5 months 1 week ago
ed: 2024-12-23 17:34
[Fixed] cortable v6.28 Windows Temp File Cleaning

I am looking for a replacement for Piriform's CCleaner Free Portable v6.x. I just started testing cortable v6.28, which I am running from a removable USB stick in a folder named E:\Portable\cortable 6_28\.

When I run Custom Clean with cortable and enable the option at Windows | System | Temp Files I've noticed that cortable only cleans C:\Windows\TEMP\ but, unlike CCleaner, it does not clean C:\s\myname\AppData\Local\Temp\ (which typically accumulates about 400 MB of temp files each week on my system). Is this a bug or a deliberate change by the devs?
--------------------
Dell Inspiron 15 5584 * 64-bit Win 10 Pro v22H2 build 19045.5247 * Firefox v133.0.3 * Microsoft Defender v4.18.24090.11-1.1.24090.11 * Malwarebytes v5.2.4.157-1.0.5116 * Macrium Reflect Free v8.0.7783 * CCleaner Free Portable v 6.30.11385 * cortable 6.28.11297

ANTICHRISTUS REX
ANTICHRISTUS REX's picture
Offline
Last seen: 2 hours 41 min ago
Translator
ed: 2019-07-19 07:09
https://alternativeto.net/

I Personally don't use CCleaner, so I may (also) suggest the Wise Cleaner Apps, some of them are already portablized!

'Joy is ephemeral, live it before realizing the truth'
― Neo Buddha ―

Mortiferon
Offline
Last seen: 2 months 1 week ago
ed: 2020-08-05 22:27
CCleaner hasn't functioned

CCleaner hasn't functioned properly since Windows 7.

CleanTemp.bat

@ECHO OFF
title Clean  Temp Directory
del /s /f /q %PROFILE%\appdata\local\temp\*.*
/Below command to Show the folder after deleted files
Explorer %PROFILE%\appdata\local\temp

Before batch:
%PROFILE%\appdata\local\temp 7,173 folders, 23,171 files, 2.81gb

After Batch:
%PROFILE%\appdata\local\temp 7,173 folders, 434 files, 1.13gb

After Batch Manual [Ctrl]+[A] and [Del]:
%PROFILE%\appdata\local\temp 7,170 folders, 434 files, 1.13gb
____
More:

CleanWindowsTemp.bat

@ECHO OFF
title Clean Windows Temp Directory
del /s /f /q C:\Windows\Temp\*.*
/Below command to Show the folder after deleted files
Explorer C:\Windows\Temp

Before batch:
C:\Windows\Temp 0 folders, 12 files, 4.15mb

After Batch:
C:\Windows\Temp 0 folders, 1 file, 2.28mb

After Batch Manual [Ctrl]+[A] and [Del]:
C:\Windows\Temp 0 folders, 1 files, 2.28mb

CleanWindowsPrefetch.bat

@ECHO OFF
title Clean Windows Prefetch Directory
del /s /f /q C:\Windows\Prefetch\*.*
/Below command to Show the folder after deleted files
Explorer C:\Windows\Prefetch

Before batch:
C:\Windows\Prefetch 1 folder, 187 files, 5.11mb

After Batch:
C:\Windows\Prefetch 1 folder, 8 files, 267kb

After Batch Manual [Ctrl]+[A] and [Del]:
C:\Windows\Prefetch 0 folder, 5 files, 257kb

CleanRecent.bat

@ECHO OFF
title Clean  Recent Directory
del /s /f /q %profile%\Recent\*.*
/Below command to Show the folder after deleted files
Explorer %profile%\Recent

Before batch:
%profile%\Recent 0 files, 0mb

After Batch:
%profile%\Recent 0 files, 0mb

After Batch Manual [Ctrl]+[A] and [Del]:
%profile%\Recent 0 folders, 0 files, 0mb
______
*Delete:
/Below command to Show the folder after deleted files
Explorer \directory\path

to just clean without opening it after.
______
CleanAll.bat

@ECHO OFF
title Clean All Temp
del /s /f /q %PROFILE%\appdata\local\temp\*.*
del /s /f /q C:\Windows\Temp\*.*
del /s /f /q C:\Windows\Prefetch\*.*
del /s /f /q %profile%\Recent\*.*
/Below command to Show the folder after deleted files
Explorer %PROFILE%\appdata\local\temp
Explorer C:\Windows\Temp
Explorer C:\Windows\Prefetch
Explorer %profile%\Recent

But I suggest a standalone for "Recent" and "Prefetch". Prefetch isn't something that needs routine repopulation (you are just adding unnecessary write cycle counts to your SSD C:\ drive by doing so). And Recent is useful in that it can assist you in figuring out where you left off after being interrupted in the middle of whatever local stuff you were doing, which is a frequent Windows experience since Win10.

Note: These only delete files. Folders will remain. It seems there are "issues" using other methods to get at subdirectories and files (such as with "currently in use" files, for example. As there always are in temp directories). This at least mostly resolves the problem of clutter with a significant file size penalty (empty folders are 0 bytes but each folder record is 1kb; so each empty folder does occupy at least 1kb of disk space).

John T. Haller
John T. Haller's picture
Offline
Last seen: 9 hours 10 min ago
DeveloperTranslator
ed: 2005-11-28 22:21
Fixed

This should be fixed with today's 6.31.11415 release.

Sometimes, the impossible can become possible, if you're awesome!

lmacri
Offline
Last seen: 5 months 1 week ago
ed: 2024-12-23 17:34
Fix Confirmed

Hi John T. Haller:

Thanks for the fix. I can confirm that if I run Custom Clean with the latest cortable v6.31 (rel. 30-Dec-2024) with the option at Windows | System | Temp Files ENABLED that cortable will now clean temp files in both C:\Windows\TEMP\ AND C:\s\myname\AppData\Local\Temp\.

I can also confirm that if Options | Advanced | Only Delete Files in Windows Temp Folders Older Than 24 Hours is ENABLED that cortable v6.31 honours that setting for both those temp folders when I run Custom Clean and will not delete any temp files in either folder created in the past 24 hours.
-----------
Dell Inspiron 15 5584 * 64-bit Win 10 Pro v22H2 build 19045.5247 * Firefox v133.0.3 * Microsoft Defender v4.18.24090.11-1.1.24090.11 * Malwarebytes v5.2.4.157-1.0.5116 * Macrium Reflect Free v8.0.7783 * cortable 6.31.11415

ottosykora
Online
Last seen: 21 min 15 sec ago
ed: 2007-10-11 17:48
can not install

I was offered some update to cc portable today, but it does not work. Itsays that the ed copy can not be installed....

Otto Sykora
Basel, Switzerland

lmacri
Offline
Last seen: 5 months 1 week ago
ed: 2024-12-23 17:34
Wrong SHA-256 Hash for cortable v6.31 on Page

Hi ottosykora:

Your comment is off-topic, but I did notice that the SHA-256 hash for cortable v6.31.11415 (cortable_6.31.11415_online.paf.exe, rel. 30-Dec-2024) on the cortable page at https://portableapps.sitesunblocked.org/apps/utilities/cortable is incorrectly listed as 157e936968ec89a6e531a7f0e7322e498811f8cb0c19b42163030a66bbc33da8. That is the old SHA-256 hash for the previous cortable 6.28.11297 (cortable_6.28.11297_online.paf.exe).

When I the new cortable_6.31.11415_online.paf.exe file to VirusTotal at https://www.virustotal.com/gui/home/ the new SHA-256 hash is reported as 7a1bedfc16bd1289184f4fa19152ef90659a0e3b347cc177d91ed5afe6f02c51.

I didn't use the portableapps.sitesunblocked.org Platform Updater to update from cortable v6.28 to v6.31 (I manually "installed" cortable_6.31.11415_online.paf.exe in a new folder called E:\Portable\cortable 6_31 on a removable USB stick and then copied and pasted the ccleaner.ini file from the previous v6.28 over to E:\Portable\cortable 6_31\Data\ to keep my configuration settings) so perhaps that's why cortable v6.31 is running correctly on my system.
-----------
Dell Inspiron 15 5584 * 64-bit Win 10 Pro v22H2 build 19045.5247 * Firefox v133.0.3 * Microsoft Defender v4.18.24090.11-1.1.24090.11 * Malwarebytes v5.2.4.157-1.0.5116 * Macrium Reflect Free v8.0.7783 * cortable 6.31.11415

ottosykora
Online
Last seen: 21 min 15 sec ago
ed: 2007-10-11 17:48
works today

Have just now tried again and the update was done in normal way

Otto Sykora
Basel, Switzerland

to post comments