使用批处理文件清理内存
Summary: 了解如何使用批处理文件清除 Windows 上的内存。通过此分步指南删除缓存和临时文件来优化计算机性能。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Instructions
创建和使用批处理文件。
此内存清理器批处理文件会自动清除所有高速缓存和临时文件。
- 打开记事本,然后将以下代码粘贴到其中。
%windir%\system32\rundll32.exe advapi32.dll,ProcessIdleTasks
- 将记事本文件保存为 cleaner.bat。将文件保存在桌面上,现在运行 bat 文件以清理内存。
警告:编辑系统文件可能会损坏您的计算机。按原样正确复制代码。
Affected Products
Alienware, Inspiron, Legacy Desktop Models, OptiPlex, Vostro, XPS, G Series, G Series, Alienware, Inspiron, Latitude, Vostro, XPS, Legacy Laptop Models, Fixed Workstations, Mobile WorkstationsArticle Properties
Article Number: 000135233
Article Type: How To
Last Modified: 17 Jul 2025
Version: 7
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.