如何给笔记本电脑腾出硬盘空间 给笔记本电脑腾出硬盘空间的方法 1、按桌面上按组合键(win+R)打开运行窗口,输入“notepad”,回车确认,如下图所示:

2、打开记事本后,将下面的一段代码复制粘贴到里面,然后点击“文件--另存为”,如下图所示:
@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 系统垃圾清除完毕!
echo. & pause

3、在另存为设置窗口中,点击“桌面”,然后在文件名处输入“清除系统垃圾。bat”,并将保存类型设置为“所有文件”,最后点击“保存”按钮,如下图所示:

4、随后可以在桌面上找到刚刚创建的清除系统垃圾。bat文件,我们只需双击鼠标左键运行该程序即可,
系统垃圾清除完毕后,关闭窗口退出程序即可。这样,以后我们想要清理系统垃圾文件的时候,只需双击运行清理程序就可以搞定了。
新闻热点
疑难解答