怎么用批处理清理系统使用痕迹?

来源:百度知道 编辑:UC知道 时间:2024/05/24 01:12:36
使用电脑后总会留下很多痕迹,比如运行对话框,搜索对话框,IE地址栏等等很多地方,怎么用批处理自动清理这些痕迹?
一楼你这是清理系统垃圾,我是要清理系统使用痕迹

在桌面上,新建一个“文本文档”,把下面的红色的字复制进去,点“保存”,重命名为“清除系统LJ.bat”就完成,记住后缀名一定要是.bat

@echo off
echo 正在清除系统LJ文件,请稍等......
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 %systemdrive%\recycled\*.*
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

@echo off
rem 清理局域网共享痕迹
reg delete "HKCU\Software\Microsoft&