请个高手编个BAT

来源:百度知道 编辑:UC知道 时间:2024/07/01 15:44:18
麻烦编个BAT程序自动删除电脑 开机后所有操作记录 历史文件
等等 谢谢
我需要自动的 例如开机 或是关机 能够自动清理

综合别人的之前 自己现试试能不能用再发

用超级兔子嘛

echo del /f /s /q %systemdrive%\*.tmp>>1.cmd
echo del /f /s /q %systemdrive%\*._mp>>1.cmd
echo del /f /s /q %systemdrive%\*.log>>1.cmd
echo del /f /s /q %systemdrive%\*.gid>>1.cmd
echo del /f /s /q %systemdrive%\*.chk>>1.cmd
echo del /f /s /q %systemdrive%\*.old>>1.cmd
echo del /f /s /q %systemdrive%\recycled\*.*>>1.cmd
echo del /f /s /q %windir%\*.bak>>1.cmd
echo del /f /s /q %windir%\prefetch\*.*>>1.cmd
echo rd /s /q %windir%\temp & md %windir%\temp>>1.cmd
echo del /f /q %userprofile%\cookies\*.*>>1.cmd
echo del /f /q %userprofile%\recent\*.*>>1.cmd
echo del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*">>1.cmd
echo del /f /s /q "%userprofile%\Local Settings\Temp\*.*">>1.cmd
echo del /