The computer will continuously generate a large number of system files and temporary junk files during use. If these junk 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 automatically cleaning 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 Left click in the drop-down menu: Save As;
3. In the Save As window, click: Desktop, in the File Name (N) field, enter: Temporary File Cleanup.bat, Click again: Save.
Automatically clean up temporary junk files when the computer is shut down
Step 2: Add the temporary file cleanup .bat file to the script shutdown file.
1, start - run (enter gpedit.msc) - OK or Enter, 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 close the shutdown;
3, in the shutdown properties window that opens, click: Add;
4, in the add script window, we click: browse;
5, found in the open desktop: temporary file cleanup .bat, and left button Double-click: Temporary file cleanup.bat;
6, Temporary file cleanup .bat file has been added, click: OK;
7, return to the shutdown properties window, 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 temporary junk files of the computer will be automatically cleaned up. This is also a must-have skill for lazy people. .
Tools: Mandatory Program: Offline NT Password Download: http://pogostick.net/~pnh
In the previous old version of WINXP, the list of commonly used programs was completely arra
Windows 7 Beta has been released publicly and can be downloaded from http://www.microsoft.com/window
MP3 Music is small in size and sound quality, which is very popular among fans. In addition to the s
Ten optimization tips to help your Windows 7 system faster and faster
Install Windows 8 Beta Fish Boot
How to install AutoCAD 2006 under Win7
Windows 7 mouse is not known to use skills
IE8/IE9 suddenly shuts down, how to retrieve lost webpages
Use the registry to recover accidentally deleted Win 7 notes
Windows 7's task scheduling program makes program automation more flexible
Fun Windows 7: three easy to use Windows shortcuts
Six steps to completely solve the Win7 input method switching problem
Windows 7 Qiao set to solve the problem of IPv6 access (1)
When prompted for Win7 partition, there is not enough space to complete this operation.
If you don't use PS, PPT can easily get
How to modify the pdf file, PDF file modification tutorial
Considerations for upgrading to Vista/2008 SP2
Three aspects to improve system efficiency
Microsoft released a new patch Replacement led to Win7 unlimited restart patch
Win2008 system to open audio service graphic tutorial
Win10 installation KB3116869 patch prompt 0x80004005 error solution
Microsoft released Win9 preview version Focus on enterprise users and advanced users