How does Win10 automatically delete temporary junk files?

  

When we use the Win10 system computer, we will generate some junk files, just like our lives, it will also generate garbage at any time. The garbage of the system is generally composed of temporary files. The system has more garbage, which will affect the running speed of our computer, so we need to clean up the system garbage in time. How does Win10 automatically delete temporary junk files? Let's take a look at the way Win10 automatically deletes temporary junk files with Xiaobian.

steps are as follows:

1, this describes how to set up Win10 system automatically delete temporary files. These files are usually placed in the C:\\Users\\username\\AppData\\Local\\Temp folder, where files and folders can be safely deleted (as long as there are no currently running tasks). Want to enter the temp folder, there is a shortcut: enter %tmp% and press Enter.

2, using this shortcut, we can make a batch file to delete the contents of temp, the content is as follows:

@echo off

del “%tmp%\\ *.*” /s /q /f

FOR /d %%p IN (“%tmp%\\*.*”) DO rmdir “%%p” /s /q< Br>

3. Copy and paste the above text into Notepad and save it as a .bat file. The file name is self-explanatory. Then you can move to the "Start" folder (running "Run: "shell: Startup" can be entered), so the system is clean after each boot; can also be set as scheduled tasks, timed clear, detailed See "Win10 Tips: Creating a Recycle Bin that Can Be Automatically Emptyed."
Photo caption: Save as .bat file
Image caption: Execute shell:Runup
on the fly Image caption: Add to “Start & rdquo; folder

4, if you don't Time to manually create files, you can also directly download the files made by IT House:

Win10 automatically deletes the temporary junk files to give you a detailed introduction. If you still don't know how to delete the temporary junk files automatically, please refer to the above method and follow the steps to clean up the system junk. The most straightforward way is to use software cleanup.

Copyright © Windows knowledge All Rights Reserved