Skip to content

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.

License

Notifications You must be signed in to change notification settings

DMarzzucco/EmptyRecycleBin.NET

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Temp Recycle

Models

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.

Requirements

  • .NET 8
  • Administrator permissions

Installation

1 Download the Repository

Clone the repository using the following command or manually download the code from GitHub:

git clone https://github.com/DMarzzucco/EmptyRecycleBin.NET.git

2 Copy build files

Navigate to the build folder;

cd TempRecycle\bin\Debug\net8.0

Copy all files from this folder.

3 Create the installation folder

    1. Got to Local Disk C: and create a folder named Tools (or any name of your choice).
    1. Inside Tools, create another folder with a custom name (e.g, TempRecycle).
    1. Paste the copied files into this folder.

Your directory structure should look like this:

C:\Tools\TempRecycle\
    ├── TempRecycle.exe
    ├── Other build files...

4 Add the path to system environment variables

    1. Copy the installation folder path (e.g , C:\Tools\TempRecycle\).
    1. Open the Environment Variable menu in Windows:
    • Pres Win + R, type sysdm.cpl, and press Enter.

    • 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.

5 Test the installation.

Open a terminal with administrator privileges and type:

TempRecycle

If everything is installed correctly, the application is ready to use.

Usage

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.

Example outPut:

Models

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.

License

Made by Dario Marzzucco.

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages