How to free up disk space by easily removing old files



[ad_1]

When using the computer for a long time, it is inevitable that you start recording the most varied types of files on the computer. At first, this is not a problem if you have a large hard drive, but over time, freeing up space in Windows by manually deleting them can be a very tedious task.

available disk space on the computer, one solution is to create a small script file that will perform an automatic cleaning of the files. Here's how to create a script to remove old space-occupying files on your hard drive:

How to free up space on the hard drive

The first step to accomplish this task above is of course to create the script file. , which will automate the task of deleting old files. It will be created with the help of a Windows proprietary tool, so you will have nothing to install on your computer.

  • Copy and paste this code into:
    @echo off
    ForFiles / s / d -30 / c "cmd / c (19659011) Note [1] Note that in code above the number "30" has been used, it will be used to delete the files saved for more than 30 days on the computer.Of course, you can change this number according to your needs.

    Once you have placed this code in Notepad, you need to save the file, but it will not be in traditional text format because it has to work as a .script file, which will perform the action on the system. proceed as follows:

    1. Click "File" and select "Save as";

        Read

    2. Select an easily accessible location to save the file. Then, in "Type", check the box All files and name it "delete_files.bat".

        Reproduction

    Now that the file is already registered, all you have to do is copy it. in the folder in which you want to perform the cleaning and run it as if it 's been a program. During its execution, a command prompt window will be opened during the execution of the process.

    Do not forget to pay attention to important files before running this script because once it is executed, it is impossible to recover it. files easily because they will not end up in the trash. In addition, never run the script in a system folder or in which programs are installed because this could cause you problems. In Windows 10, it is a good idea to check the "Storage Sensor" function. Unlike the method shown above, it simply deletes temporary files and has no utility for the system. The Digital Eye has already shown how it works in this area.

    You Shop Online ? Be sure to check out the Digital Eye extension that guarantees the lowest price and even offers automatic coupon testers. Click here to install

  • [ad_2]
    Source link