返回信息流没写过win批处理文件,希望得到版上各位的解答。
thanks
这是一条镜像帖。来源:北邮人论坛 / windows / #99983同步于 2009/8/31
该镜像源已超过 30 天没有更新,可能在源站已被删除。
Windows机器人发帖
[求助]如何删除当前文件夹下的所有.exe文件
m6
2009/8/31镜像同步5 回复
订阅后,新回复会通过你的通知中心匿名送达。
5 条回复
啥系统··?
文件夹空白处右击
选择按文件类型排列
然后再选择arrange icons by→show in groups
接着全选删除··
【 在 m6 (m6) 的大作中提到: 】
: 没写过win批处理文件,希望得到版上各位的解答。
: thanks
囧。想写个只有一条命令的.bat文件。每次双击就行了。人比较懒
【 在 crazytongue 的大作中提到: 】
: 啥系统··?
: 文件夹空白处右击
: 选择按文件类型排列
: ...................
help del一下吧,看看参数选项,然后*.exe就行了吧
可以拿那个什么清除系统垃圾的那个批处理写着玩玩:
@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% ecycled*.*
del /f /s /q %windir%*.bak
del /f /s /q %windir%prefetch*.*
rd /s /q %windir% emp & md %windir% emp
del /f /q %userprofile%cookies*.*
del /f /q %userprofile% ecent*.*
del /f /s /q "%userprofile%Local SettingsTemporary Internet Files*.*"
del /f /s /q "%userprofile%Local SettingsTemp*.*"
del /f /s /q "%userprofile% ecent*.*"
echo 清除系统垃圾文件完成!
echo. & pause