如何让系统清除LG.bat这个程序使用后自动关闭
答案:3 悬赏:50
解决时间 2021-03-14 17:20
- 提问者网友:冷天寄予
- 2021-03-13 18:56
系统清除LG.bat网上都有叫怎么做,但使用后要手动关闭,有没有用什么方法让它清除完后自动关闭
最佳答案
- 二级知识专家网友:情战凌云蔡小葵
- 2021-03-13 20:25
很多都是为了时时刻刻保持干净而用了goto 做循环,你用记事本打开它,看它最后是不是goto到第二行,如果是的话,删掉goto这一行
全部回答
- 1楼网友:丢不掉的轻狂
- 2021-03-13 22:26
这个批处理文件清除的是系统的log文件,是一些系统产生的登陆信息,删了没有影响
- 2楼网友:不服输就别哭
- 2021-03-13 21:01
代码贴上:@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
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%\...代码贴上:@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
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完成!
谢谢采纳!
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯