How to automatically delete temporary tmp files in Win10_How to automatically delete temporary tmp files in Win10

PHPz
Release: 2024-09-05 11:39:27
Original
607 people have browsed it

Sometimes, deleting the contents of temporary tmp files on your computer is a troublesome thing, especially when we need to do this frequently. In order to solve this problem, PHP editor Xiaoxin brings you a detailed method to automatically delete tmp temporary files in Win10. With the following steps, you can easily set up your system to do this task automatically, saving you time and energy. This article guides you through the setup process, providing the necessary examples and instructions so you can easily follow the steps to achieve your goals.

How to automatically delete tmp temporary files in Win10

1. First, we need to create a notepad on the desktop of the computer, and then enter the content:

@echo off

del "%tmp%*.*" /s /q /f

FOR /d %%p IN ("%tmp%*.*") DO rmdir "%%p" /s /q

How to automatically delete temporary tmp files in Win10_How to automatically delete temporary tmp files in Win10

2. Then save as, and the saved file name suffix should end with .at. Select "all types" for the save type below. Place the saved file on the desktop first;

How to automatically delete temporary tmp files in Win10_How to automatically delete temporary tmp files in Win10

3. Then use the shortcut key [Win+R] to open the run function, enter the "shell:Startup" command and click OK.

How to automatically delete temporary tmp files in Win10_How to automatically delete temporary tmp files in Win10

4. Then in the opened window, copy the .bat file of the desktop to the folder. This is the startup folder, so that every time you boot It will automatically clean up temporary files for you, isn't it very convenient?

How to automatically delete temporary tmp files in Win10_How to automatically delete temporary tmp files in Win10

The above is the detailed content of How to automatically delete temporary tmp files in Win10_How to automatically delete temporary tmp files in Win10. For more information, please follow other related articles on the PHP Chinese website!

source:xitongzhushou.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template