How to set the temporary file to automatically delete the Win10 system Win10 temporary junk file automatically delete the graphic method

  
Junk files are things that the operating system is bound to produce, just like we usually produce garbage. The system's garbage is generally composed of temporary files, and now the system itself has a certain "self-cleaning" ability, that is, self-cleaning … … or change the word … … that is, the ability to delete temporary files . However, this ability is in Guo Degang's words, "the ability is general, the level is limited", many times when we use the soft media Rubik's cleaning master, we find that the junk files are still quite a lot, so many times we have to manually help the system net Body, even Win10 is no exception.
Software Name:
Software Cube Computer V6.20 Green Free Edition
Software Size:
4.87MB
< dt> update time:
2016-07-31


describes how to set up Windows10 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.

Using this shortcut, we can make a batch file that deletes the contents of temp, as follows:

@echo off

del "%tmp% \\*.*" /s /q /f

FOR /d %%p IN ("%tmp%\\*.*") DO rmdir "%%p" /s /q

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 that the system is clean after each boot; can also be set as scheduled tasks, timing clear.

▲Photo description: Save as .bat file

▲Picture description: Execute shell in operation: Startup

▲Photo description : Add to “Start & rdquo; Folders

If you don't have time to manually create files, you can also download the prepared files directly:

Network disk download

Of course, The junk file is not this. The above method solves the short-term urgency, can not save long-term suffering, there are many third-party software and other system garbage, it is best to regularly clean up the science with the soft media Rubik's cube (click to download). Garbage, one button to get it!

Win10 system double-click can not open the EXE file how to do Win10 double-click can not open the EXE file and the solution

Win10 system WindowsApps folder default permissions how to restore?

Copyright © Windows knowledge All Rights Reserved