• Most Important

    How to Automatically Delete Temporary files in Windows PC (No Software)


    How To Increase Windows 10 Performance By Deleting Temp Files At Every Start-Up:- Whenever a file is created, correspondingly a temporary file is also created with the extension.TMP. These temporary files pile up in the hard drive space until you delete them. So what’s the problem with that, you may wonder. The more the space occupied in the hard drive by unwanted files, the lower the system performance would be. You can delete the temporary files either manually or you can assign a batch file to do this job for you. Both ways are explained in detail through the following steps. So what are you waiting for? Let’s all work together for a better world that has efficient PCs.

    Delete Temporary Files Automatically At Every Start-Up
    Want to be a little techier? Or too lazy to clean up the temporary files every single time? Well, then let’s write a quick batch file that will do the job for you at every single startup.

    STEP 1

    Launch Notepad. You can quickly launch the Notepad by opening the Run dialog box and by typing in Notepad and hitting enter key. You can open the Run dialog box by pressing the WIN+R keys together.
    STEP 2

    Now copy-paste the following code into your newly opened Notepad file.
    rd %temp% /s /q
    md %temp%

    STEP 3

    The next step, obviously, is saving the file. But the question is where to save? It should be saved in the startup folder such that every time the system boots up, this file will be called and it will clean up all the temporary files that eat up your space unnecessarily.
    To save the file, hit CTRL+S keys together. Or you can click on the File tab at the top and then choose Save as the option. Once the Save as the window opens up, choose Save as type as All Files. For the File name option, copy-paste the following path and file name.

    %appdata%\microsoft\windows\start menu\programs\startup\cleantemp.bat

    The name of your file is cleantemp.bat. And you don’t have to bother to copy and paste it in the startup folder as you have already mentioned the startup folder path in the name of your file. So whenever your system boots up, the temporary files will be deleted by this batch file. If some of the files are in use, then they may not be deleted. In that case, try closing the running processes and run the batch file again. You can check whether the number of temporary files has reduced by going to the temporary files folder specified in Method 1.
    STEP 4
    If you want to delete this cleaner file from the startup, you can just copy-paste the path %appdata%\microsoft\windows\start menu\programs\startup in Windows file explorer and delete this file.

    Thank you for watching this video

    No comments

    ads