Temp Recycle is a console application that scans the Windows TEMP
folder, displaying a detailed analysis of the space occupied by files and folders. Allows you to eliminate them automatically, excluding those in use by running applications.
This tool makes it easy to clean the system, avoiding the manual task of deleting temporary files.
- .NET 8
- Administrator permissions
Clone the repository using the following command or manually download the code from GitHub:
git clone https://github.com/DMarzzucco/EmptyRecycleBin.NET.git
Navigate to the build folder;
cd TempRecycle\bin\Debug\net8.0
Copy all files from this folder.
-
- Got to Local Disk C: and create a folder named
Tools
(or any name of your choice).
- Got to Local Disk C: and create a folder named
-
- Inside
Tools
, create another folder with a custom name (e.g,TempRecycle
).
- Inside
-
- Paste the copied files into this folder.
Your directory structure should look like this:
C:\Tools\TempRecycle\
├── TempRecycle.exe
├── Other build files...
-
- Copy the installation folder path (e.g ,
C:\Tools\TempRecycle\
).
- Copy the installation folder path (e.g ,
-
- Open the Environment Variable menu in Windows:
-
Pres
Win + R
, typesysdm.cpl
, and pressEnter
. -
Go to the Advanced tab and click Environment Variables.
-
Under System Variables, select
Path
and click Edit. -
Click New and paste the copied path (
C:\Tools\TempRecycle\
). -
Save the changes and close all windows.
Open a terminal with administrator privileges and type:
TempRecycle
If everything is installed correctly, the application is ready to use.
When executing the application, it will display an analysis of the files and folders in the TEMP folder. Then, it will prompt you to confirm deletion.
Caution
- Deleting temporary files may affect running programs.
- It is recommended to review files before deletion.
- Some files may require elevated permissions to be deleted.
Tip
This project is open to contributions.
Made by Dario Marzzucco.