Win10 where is the temporary file? Win10 method for automatic cleanup of temporary files

Source: Internet
Author: User


1, press the "Win+r" key combination to open the operation, in the box input: Shell:startup Click OK to open the "Startup" folder;

2, in the Startup folder right click, select "New"-"text document", if the pop-up anti-virus software allows the window to choose to allow;

3. Open the new text document and copy the following code in:

@echo off

Del "%tmp%\*.*"/s/q/F

FOR/D%%p in ("%tmp%\*.*") do rmdir "%%p"/s/q

4, click the Close button, click "Save";

5. Click the "View" tab in the folder's toolbar and select "File extension" on the right.

6, the new version of the document right click, select "Rename", will be followed by "TXT" modified to "bat", if the pop-up anti-virus software to prevent window clicks allowed.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.