The computer will continuously generate a large number of system files and temporary junk files during use. If these files are not cleaned up in time, they will not only occupy a large amount of system disk space, but also directly affect the running speed of the system, but many Users ignore the cleanup of the computer before using the computer, and the computer becomes slower and slower over time.
In fact, we can set the computer to automatically clean up temporary files when it is shut down, so the computer will not accumulate a large number of temporary junk files. Let's take a look at the operation method of Win7 shutdown to automatically clean up temporary files.
Step 1: Create a .bat file that automatically cleans up temporary files.
1. Start - All Programs - Accessories - Notepad;
2. In the open notepad, type: del folder path /q, left click on the file, in the drop down menu Left click: Save as;
3. In the Save As window, click: Desktop, in the File Name (N) field, enter: Temporary File Cleanup.bat, then click: Save.
Tips for automatically cleaning temporary junk files when the computer is turned off
Step 2: Add the temporary file cleanup .bat file to the script shutdown file.
1. Start - Run (enter gpedit.msc) - OK or Enter to open the Local Group Policy Editor;
2. 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 shut down;
3, in the shutdown properties window that opens, click: Add;
4, In the Add Script window, we click: Browse;
5. In the open desktop, find: Temporary file cleanup.bat, and double-click: Temporary file cleanup.bat;
A temporary file cleanup .bat file has been added, click: OK;
7. Return to the shutdown properties window and click: Apply - OK.
Create a .bat file that automatically cleans up temporary files, so that this file will run automatically when the computer is turned off, then the computer's temporary junk files will be automatically cleaned up. This is also a must-have skill for lazy people.
Apple notebooks bring you all with their own mac system, many users like their own
Some users like to lock the program to the taskbar, and some users dont like it ver
The solution for office2007 wont open under win7 Solution 1: 1. First, we have to determine if our w
1. Go to the change line with the red ellipse and click Settings. The pop-up change line settings, w
Customizable power functions and meanings in Windows 7
How does Windows 7 view and modify computer names, domains, and workgroups? How does the
Win7 how to set up LAN sharing without entering a username and password
Win7 system resource manager to open the preview pane function method
Share the difference to modify the color of the Windows folder
Win7 system minesweeping game can not open how to do
How to change the Win7 hard disk icon? How to change the hard disk icon
Windows7 system started in 11 seconds
How to solve the network delay of Win7 system?
Windwos system activation method
Win7 system wps can not run the solution that prompts qtcore4.dll missing
How does the Win7 system block browser advertisement pages?
Win7 taskbar icon does not show how to solve
Use "run mode" to get win xp system permissions
U disk is not normal under Linux.
How to quickly restore the win 7 registry
Win users new benefits: Win10 will be compatible with iOS application
The first support for Windows7 manufacturers appeared
Win10 taskbar notification area time is not displayed solution