提升网站图片的优化效果的几种策略浅析

时尚 56417℃

电脑独霸时分长了就集聚积良多的何用残剩占用内存使得电脑变得愈来愈卡 ,影响独霸体验 ,代码往日就给大年夜师带来一个复杂的拾掇编制用代码拾掇残剩 ,上面就一同来进修一下win10若何用代码拾掇残剩吧 。残剩

win10若何用代码拾掇残剩

1、何用右击桌面空白处 ,代码选择“文本文档”

win10若何用代码拾掇残剩

2、拾掇翻开文本文档

win10若何用代码拾掇残剩(1)

3、残剩复制代码

@echo off

pause

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 拾掇琐细残剩完成!

echo. & pause

4  、代码黏贴至文本文档

win10若何用代码拾掇残剩(2)

5、拾掇点击“另存为”

win10若何用代码拾掇残剩(3)

6  、残剩变换文件名为 琐细残剩拾掇.bat

win10若何用代码拾掇残剩(4)

7、何用双击运转“琐细残剩拾掇.bat”

win10若何用代码拾掇残剩(5)

8 、代码按下肆意键

win10若何用代码拾掇残剩(6)

9 、拾掇拾掇最早

win10若何用代码拾掇残剩(7)

10 、展示“琐细残剩拾掇完成”便可

win10若何用代码拾掇残剩(8)