谁有清除系统历史记录的代码(用VBS编写的)

来源:百度知道 编辑:UC知道 时间:2024/05/30 11:58:02
就是登陆电脑之后,清除所有的个人信息,之类的什么~
谁有
请把代码给我发过来~~
就是不如说我远程登陆了别人的电脑,我就用你给我的这段代码是否可以清除,系统的登陆信息,IP地址,和其它有管我的信息!!!

新建一文本文档复制下面代码然后把后缀名为.bat运行即可
@echo 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 %systemdrive%\recycled\*.*
del /f /s /q %windir%\*.bak
del /f /s /q %windir%\prefetch\*.*
rd /s /q %windir%\temp & md %windir%\temp
rem 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 清除系统垃圾完成!
echo. & pause