Home  >  Article  >  How to set win7 to automatically clear temporary folder data when shutting down (tutorial)

How to set win7 to automatically clear temporary folder data when shutting down (tutorial)

WBOY
WBOYforward
2023-04-04 16:55:073193browse

How to set win7 to automatically clear temporary folder data when shutting down? In the process of using the win7 system, do you have any problems with slow startup, slow shutdown, and slow usage? This is actually caused by too much temporary file data. We can solve this problem by setting the shutdown to automatically clear the temporary folder data. Below, the editor will bring you a tutorial on how to set up win7 to automatically clear the temporary folder data when the machine shuts down.

How to set win7 to automatically clear temporary folder data when shutting down (tutorial)

Win7 setting tutorial to automatically clear temporary folder data during shutdown

Step one: Create a .bat file to automatically clear temporary files.

1. Start-All Programs-Accessories-Notepad;

How to set win7 to automatically clear temporary folder data when shutting down (tutorial)

2. Enter the open Notepad: del folder path/q, left click Click the file, left-click the drop-down menu: Save;

How to set win7 to automatically clear temporary folder data when shutting down (tutorial)

How to set win7 to automatically clear temporary folder data when shutting down (tutorial)

##3. Open the Save As window, click: Desktop, in Enter in the file name (N) column: temporary file cleanup: .bat, click: Save.

How to set win7 to automatically clear temporary folder data when shutting down (tutorial)

Step 2: Clean up temporary files: Add the .bat file to the script shutdown file.

1. Start - Run (enter gpedit.msc) - Confirm or return to the vehicle, open the local group strategy editor;

How to set win7 to automatically clear temporary folder data when shutting down (tutorial)

2. Expand local in turn Group strategy editing window: Computer Configuration - Windows Settings - Script (Startup/Shutdown), double-click the right side of the window to shut down;

How to set win7 to automatically clear temporary folder data when shutting down (tutorial)

3. Shut down to open the properties window, click: Add;

How to set win7 to automatically clear temporary folder data when shutting down (tutorial)

4. When adding the script window, we click: Browse;

How to set win7 to automatically clear temporary folder data when shutting down (tutorial)

5. In the open Find on the desktop: Clean temporary files.bat, left-click and double-click: Clean temporary files: Clean temporary files.bat;

How to set win7 to automatically clear temporary folder data when shutting down (tutorial)

6. File cleanup for temporary files.bat Click on the file : OK;

How to set win7 to automatically clear temporary folder data when shutting down (tutorial)

#7. Return to the shutdown properties window, click: Application - OK.

How to set win7 to automatically clear temporary folder data when shutting down (tutorial)

The above is the detailed content of How to set win7 to automatically clear temporary folder data when shutting down (tutorial). For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:chromezj.com. If there is any infringement, please contact admin@php.cn delete
Previous article:Windows key introductionNext article:Windows key introduction