Regardless of the operating system, there will be a lot of temporary files in the computer during the operation. If it is not cleared in time, the boot speed and system running speed will be slowed down, but we don't necessarily remember to clear it before shutting down. Some often shut down before remembering that the temporary file garbage is not cleared. Is there any way to automatically clear the computer during the operation? What is the temporary file garbage left in?
Tools/Materials
Hardware: Computers
Operating System: Windows7/8/10
Methods/Steps
How to automatically clear temporary files when Windows 7/8/10 system is shut down
Step 1: Create a .bat file that automatically clears temporary files.
Steps:
Start - All Programs - Accessories - Notepad;
In the open notepad, type:del folder path /q , left button Click on the file and left click in the drop-down menu: Save As;
In the Save As window, click: Desktop, in the File Name (N) field, enter: Temporary File Cleanup.bat, then Click: Save.
Step 2: Add the temporary file cleanup .bat file to the script shutdown file.
Steps:
Start - Run (enter gpedit.msc) - OK or Enter to open the local Group Policy Editor;
In the open local group Policy Editor window, expand: Computer Configuration - Windows Settings - Script (Start /Shutdown), left-click on the right side of the window to close the shutdown;
In the shutdown properties window, click: Add;
In the Add Script window, we click: Browse;
Find in the open desktop: Temporary file cleanup.bat, and left click double: Temporary file cleanup. Bat;
A temporary file cleanup .bat file has been added, click: OK;
Go back to the shutdown properties window and click: Apply - OK.
With the above settings, the Windows 7/8/10 system will automatically clear the temporary files left during the operation.
For friends to refer to and use.
The above is the introduction of the method of automatically clearing the temporary file garbage when the Win7/8/10 system is shut down. I hope it will help everyone!
Win7 system task manager is a program tool that will be used by computer people, generally 64-bit wi
If you are win7 (64-bit) operating system, encountered difficulties in installing the printer, the f
The win10 Mobile Preview 10136 brings a one-handed operating mode to 5-inch and larger screen device
Win7 Ultimate system to turn off the U disk auto play function graphic settings tutorial
What should I do if the win10 system time is wrong? Win10 system time inaccurate problem solution
Official confirmation! Users of pirated Win7 and Win8.1 can also upgrade Win10
Win8.1 system prompts can not verify product key solution tutorial
How to improve the performance of Windows 8.1 tablet memory card
Win8.1 disk usage rate 100% How to first aid?
How to set the screen saver time for win7
How to quickly delete the virus folder under win7
Win8 easily get disk encryption
"Double-sided" network people: remote control giants and mobile newcomers
Win8 will support setting up cloud synchronization and "hybrid boot" technology
Vista mixed sound problem solving method
How to improve the speed of the Win10 system? Win10 system to remove the network speed limit method
WP8 plant identification application Plant Guide shelves store
Win8 opens and uses the disk cleanup function.
Windows 10 can not shut down or restart how to do
Win7 system after the DNF screenshot can not find the intercepted picture how to solve the