导航:首页 > 文件目录 > 系统清理的批处理文件

系统清理的批处理文件

发布时间:2023-03-16 03:04:13

① 求一键清理系统垃圾的批处理命令

======复制下面的文字(这行不用复制)============================= @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完成! echo. & pause =====到这里为止(这行不用复制)==============================================

② Windows XP 系统垃圾清理 批处理命令咋写

将以下内容自暴复制到文本文件中,再将后缀名.txt改为.bat,双击即开始运行。要看源码,可选打开方式,用记事本打开。
@echo
offecho
在windowsshiyong使用过成中,电脑系统磁盘的可用空间一天天在减少,运行速度在变慢谈改拆。为此,我特编制了这个批处理命令,用来快速清含枣理windows临时文件(如:*.tmp、*._mp)日志文件(*.log)、临时帮助文件(*.gid)、磁盘检查文件(*.chk)、临时备份文件(如:*.old、*.bak)以及其他临时文件,保证轻松流畅上网。
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\*.*
echo
清除系统垃圾完成!

③ 如何制作一键清理c盘垃圾的批处理文件

不过,笔者还是跟大家介绍一下,方法如下:首先,新建一个记事本并输入以下的内容:@echo off
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 其次,将它保存,类型为所有文件。再更名为“清除系统垃圾.bat” ,后缀名一定要为“.bat”。然后要进行清理c盘垃圾时,双击“清除系统垃圾.bat”运行该批处理文件就可以了。

④ 哪里有 一键清理系统垃圾的批处理文件

自己在桌面上新建一个文本文档,输入:
@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
然后保存为后缀.bat的文件,此文件就是处理垃圾的批处理文件了。

⑤ Windows 7系统垃圾清理 批处理命令咋写

@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
把上边的全部复制到文本文档,然后另存为bat文件拿历就OK了

⑥ 如何制作一键清理c盘垃圾的批处理文件

这个程序是自动清理电脑里的垃圾文件而不会破坏系统,如果没有安装其它工具的时候可以使用,笔者还是建议网友清理c盘垃圾还是用金山毒霸的金山卫士,该工具很好用。不过,笔者还是跟大家介绍一下,方法如下:首先,新建一个记事本并输入以下的内容:@echo off 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 其次,将它保存,类型为所有文件。再更名为“清除系统垃圾.bat” ,后缀名一定要为“.bat”。然后要进行清理c盘垃圾时,双击“清除系统垃圾.bat”运行该批处理文件就可以了。

⑦ 如何使用bat批处理命令清理windows10系统垃圾文件

鼠标右键单击,新建文本文档-记事本

在文件中输入:

++++++++++++++++++++++++++++++++++++++++++++++

@echo off

color 0a

title windows10系统垃圾清理---

echo ★☆ ★☆ ★☆ ★☆ ★☆★☆★☆ ★☆ ★☆ ★☆ ★☆★

echo ★☆ ★☆ ★☆ ★☆ ★☆★☆★☆ ★☆ ★☆ ★☆ ★☆★

echo.★☆ ☆★

echo.★☆ ☆★

echo.★☆ 清理系统垃圾文件,请稍等...... ☆★

echo ★☆ ☆★

echo.★☆ ☆★

echo ★☆ ★☆ ★☆ ★☆ ★☆★☆★☆ ★☆ ★☆ ★☆ ★☆★

echo ★☆ ★☆ ★☆ ★☆ ★☆★☆★☆ ★☆ ★☆ ★☆ ★☆★

echo 清理垃圾文件,速度由电脑文件大小而定。在没看到结尾信息时

echo 请勿关闭本窗口。

echo 正在清除系统垃圾文件,请稍后......

echo 删除补丁备份目录

RD %windir%\$hf_mig$ /Q /S

echo 把补丁卸载文件夹的名字保存成2950800.txt

dir %windir%\$NtUninstall* /a:d /b >%windir%\2950800.txt

echo 从2950800.txt中读取文件夹列表并且删除文件夹

for /f %%i in (%windir%\2950800.txt) do rd %windir%\%%i /s /q

echo 删除2950800.txt

del %windir%\2950800.txt /f /q

echo 删除补丁安装记录内容(下面的del /f /s /q %systemdrive%\*.log已经包含删除此类文件)

del %windir%\KB*.log /f /q

echo 删除系统盘目录下临时文件

del /f /s /q %systemdrive%\*.tmp

echo 删除系统盘目录下临时文件

del /f /s /q %systemdrive%\*._mp

echo 删除系统盘目录下日志文件

del /f /s /q %systemdrive%\*.log

echo 删除系统盘目录下GID文件(属于临时文件,具体作用不详)

del /f /s /q %systemdrive%\*.gid

echo 删除系统目录下scandisk(磁盘扫描)留下的无用文件

del /f /s /q %systemdrive%\*.chk

echo 删除系统目录下old文件

del /f /s /q %systemdrive%\*.old

echo 删除回收站的无用文件

del /f /s /q %systemdrive%\recycled\*.*

echo 删除系统目录下备份文件

del /f /s /q %windir%\*.bak

echo 删除应用程序临时文件

del /f /s /q %windir%\prefetch\*.*

echo 删除系统维护等操作产生的临时文件

rd /s /q %windir%\temp & md %windir%\temp

echo 删除当前用户的COOKIE(IE)

del /f /q %userprofile%\cookies\*.*

echo 删除internet临时文件

del /f /s /q "%userprofile%\local settings\temporary internet files\*.*"

echo 删除当前用户日常操作临时文件

del /f /s /q "%userprofile%\local settings\temp\*.*"

echo 删除访问记录(开始菜单中的文档里面的东西)

del /f /s /q "%userprofile%\recent\*.*"

echo

echo ★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★

echo ★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★

echo ★☆ ☆★

echo.★☆ ☆★

echo.★☆ ☆★

echo ★☆ ☆★

echo ★☆ 恭喜您!清理全部完成! ☆★

echo.★☆ ☆★

echo ★☆ ☆★

echo.★☆ ☆★

echo ★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★

echo ★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★

echo.

++++++++++++++++++++++++++++++++++++++++++++++

然后单击文件,选择另存为

将文件另存为“ Windows10一键垃圾清理.bat ”,放置在任意位置。

双击文件便开始自动垃圾清理大约要几分钟时间

win10手动清理系统垃圾方法

新买的电脑运行速度特别快,但win10已经使用一段时间了,系统使用久了之后会产生大量的临时文件和一些无用的系统缓存,而win10系统也是一样的,那么win10系统如何快速清理垃圾?接下来是我为大家收集的win10手动清理系统垃圾方法,希望能帮到大家。
win10手动清理系统垃圾方法
1、首先确保自己的电脑已经升级到win10系统,并且是正常激活状态;

2、鼠标右键新建一记事本文件,并命名为【垃圾清理.txt】;

3、打开记事本文件,然后再里面贴上代码

【@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 %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完成! echo. & pause 】

中括弧里面的,不要带中括弧。

4、然后保存文件,修改文件名的后缀为“bat”,然后蹦出提示框,点击“是”,就把清理垃圾的批处理文件,建立好了;

5、鼠标左键,双击该清理垃圾的批处理文件,弹出DOS界面,提示“正在清理系统垃圾文件,请稍等...”

6、根据电脑中垃圾文件多与少,等待的时间也不相同,在过程中,可以看到清理的一些系统文件;

7、在清理完系统垃圾文件之后(一般稍等一会),最下面一行会有提示“清理系统LJ完成!请按任意键继续”,随便点一键盘键位,就可以退出对话框了。

注意事项

在上述第三步骤,粘贴命令代码的时候,一定不要把中括弧粘贴进去。

清理完系统垃圾之后,垃圾箱里面的文件是清理不了的,建议手动清理一下。

以上就是win10清理系统垃圾方法介绍,操作很简单的,大家按照上面步骤进行操作即可,希望能对大家有所帮助!

看了“win10手动清理系统垃圾方法”还想看:

1. win10如何清理系统垃圾

2. 如何清理win10系统垃圾

3. win10怎样清理系统垃圾

4. Win10如何一键清理系统文件

5. Windows系统自带清理工具cleanmgr的使用教程

⑨ 怎样用批处理文件清理系统垃圾文件

首先建立
记事本
,再输入如下内容后保存,注意扩展名要改成.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
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完成!
echo.
&
pause

⑩ 怎样用批处理文件清理系统垃圾文件

首先建立记事本,再输入如下内容后保存,注意扩展名要改成.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
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完成!
echo.
&
pause

阅读全文

与系统清理的批处理文件相关的资料

热点内容
maya粒子表达式教程 浏览:84
抖音小视频如何挂app 浏览:283
cad怎么设置替补文件 浏览:790
win10启动文件是空的 浏览:397
jk网站有哪些 浏览:134
学编程和3d哪个更好 浏览:932
win10移动硬盘文件无法打开 浏览:385
文件名是乱码还删不掉 浏览:643
苹果键盘怎么打开任务管理器 浏览:437
手机桌面文件名字大全 浏览:334
tplink默认无线密码是多少 浏览:33
ipaddgm文件 浏览:99
lua语言编程用哪个平台 浏览:272
政采云如何导出pdf投标文件 浏览:529
php获取postjson数据 浏览:551
javatimetask 浏览:16
编程的话要什么证件 浏览:94
钱脉通微信多开 浏览:878
中学生学编程哪个培训机构好 浏览:852
荣耀路由TV设置文件共享错误 浏览:525

友情链接