时间:2023-06-02 16:16:41 来源: 人气:
1、新建一个txt文本文件;, 2、打开文本文件,输入以下内容:,[email protected] off, echo 正在清除系统垃圾文件,请稍等......, del /f /s /q %systemdrive%\*.tmp, del /f /s /q %systemdrive%\*._mp, del /f /s /q %systemdrive%\*.log, del /f /s /q %systemdrive%\*.gid, del /f /s /q %systemdrive%\*.chk, del /f /s /q %systemdrive%\*.old, del /f /s /q %windir%\*.bak, del /f /s /q %windir%\prefetch\*.*, rd /s /q %windir%\temp & md %windir%\temp, del /f /q %userprofile%\cookies\*.*, del /f /q %userprofile%\recent\*.*, del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*", del /f /s /q "%userprofile%\Local Settings\Temp\*.*", del /f /s /q "%userprofile%\recent\*.*", echo 清除系统LJ完成!, echo. & pause,
, 3、点击“文件”--“文件另存为”,文件名的结尾从txt改为bat,保存类型选择“所有文件”;, 4,右键保存出来的bat文件,以管理员身份运行即可。,上一篇: Win7系统自带截图功能的使用方法,下一篇: Win7我的电脑中找不到摄像头怎么办,
2、打开文本文件,输入以下内容:,
[email protected] off,
echo 正在清除系统垃圾文件,请稍等......,
del /f /s /q %systemdrive%\*._mp, del /f /s /q %windir%\prefetch\*.*,
rd /s /q %windir%\temp & md %windir%\temp,
del /f /q %userprofile%\cookies\*.*,
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*",
, ,
4,右键保存出来的bat文件,以管理员身份运行即可。,