# When in Doubt, empty the %temp% folder

**URL:** <https://clarionhub.com/t/when-in-doubt-empty-the-temp-folder/7086>\
**Category:** tips\
**Tags:** report, ide\
**Created:** [April 11, 2024, 5:45am UTC](https://clarionhub.com/t/when-in-doubt-empty-the-temp-folder/7086 "2024-04-11T05:45:20Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![CarlBarnes](https://clarionhub.com/user_avatar/clarionhub.com/carlbarnes/32/1859_2.png) [@CarlBarnes](https://clarionhub.com/u/CarlBarnes)\
**Post date:** [April 12, 2024, 5:08pm UTC](https://clarionhub.com/t/when-in-doubt-empty-the-temp-folder/7086/3 "2024-04-12T17:08:48Z")

</div>

I have this small utility on GitHub that cleans the Temp folder of Clarion Report files Cla\*.tmp Cla\*.wmf. Also CPCS Report and Tracker PDF special temp files.

Most of my User Apps have Code in the Frame shutdown to run this Utility … every 2 - 4 weeks.

When I first set it up I would be remoted in to an End User and see it remove 1000+ files.

 ![image](https://clarionhub-uploads.s3.eu-north-1.amazonaws.com/original/2X/0/0a021973fb3ab12f67c5dbae9ab6ae4d2d5d65f0.png)

Note in C 11 when AS was added the temp WMF files changed extension from .TMP to .WMF.

> **[GitHub - CarlTBarnes/Temp-Clean-Clarion: Temp folder purge of Report Preview files...](https://github.com/CarlTBarnes/Temp-Clean-Clarion)**
>
> Temp folder purge of Report Preview files including CPCS and Tracker temp files

---

_[View the full topic](https://clarionhub.com/t/when-in-doubt-empty-the-temp-folder/7086)._
