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?
In order to make the icons on the desktop of the Win7 Ultimate system more tidy and beautiful, users
The Windows.old folder after upgrading Win10 is the backup of the original system. If you delete it
The taskbar time setting of windows7 defaults to the year, month and day without the display of the
win7 system can not start the power service, pop-up prompt error 2: the system can not find the spec
Win10 preview version of Mobile 10547 is about to be released. Pushing
Win8.1 desktop icon shows the solution to the problem that is not normal
Win8.1 operating system shortcut key driver setting method
"Detonated" Win10 malware: Microsoft Sonar plans to expose, recruit security software engineer
Windows RT welcomes special benefits Update win10 part function
Windows 10 system how to set a graphical password?
The new hammer will be released this summer (2015). The name is not called a small hammer
Win10 hidden tricks Xbox One game stream can unlock 1080P super high quality
8 reasons why Windows 10 should not be upgraded temporarily
The mysterious Win10 version appeared! The new Edge browser icon is really revealing (photo)
e secret krn.exe takes up 100% of the CPU problem
The desktop is too simple. How to add/hide the IE icon in the Win8.1 desktop?
Mindmanager usage method MindManager link, how to use multi-line text
How to remove the win8 consumer preview desktop watermark
Create a personalized recycling station
Web Server Setup Raiders for FreeBSD Platform
Win10 Mobile 10586.164 Chinese version upgrade screenshot exposure
Win8 computer installation application hangs how to do