dos命令求教
答案:3 悬赏:20 手机版
解决时间 2021-03-31 03:41
- 提问者网友:暗中人
- 2021-03-30 16:46
dos命令求教
最佳答案
- 五星知识达人网友:忘川信使
- 2021-03-30 16:57
系统 文件夹是无法移的,要求有管理员权限
如果想省事,请用工具,以管理员身份运行,改到D盘((个人资料转移器UserTransfer))
其他临时文件可试下如下,改批处理
@echo off
echo 清空IE临时文件目录...
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\AppData\Roaming\Foxmail\FoxmailTemp\*.*"
@echo off
echo 正在删除foxmail文件夹下的所有文件,请稍等......
rd /s /Q "%userprofile%\AppData\Roaming\Foxmail\"
echo 清除FOXMAIL完成!
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
del /f /s /q "G:\temp-IE\*.*"
echo 正在清除系统临时文件 *.tmp *._tmp 请稍等...
del /f /s /q %systemdrive%\*.tmp
del /f /s /q %systemdrive%\*._mp
echo 清空垃圾箱,备份文件和预缓存脚本...
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
rem cooke和最近历史还是保留吧...
rem del /f /q %userprofile%\COOKIES s\*.*
rem del /f /q %userprofile%\recent\*.*
echo 优化预读信息...
%windir%\system32\defrag.exe %systemdrive% -b
echo 清除系统完成!
@echo off
如果想省事,请用工具,以管理员身份运行,改到D盘((个人资料转移器UserTransfer))
其他临时文件可试下如下,改批处理
@echo off
echo 清空IE临时文件目录...
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\AppData\Roaming\Foxmail\FoxmailTemp\*.*"
@echo off
echo 正在删除foxmail文件夹下的所有文件,请稍等......
rd /s /Q "%userprofile%\AppData\Roaming\Foxmail\"
echo 清除FOXMAIL完成!
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
del /f /s /q "G:\temp-IE\*.*"
echo 正在清除系统临时文件 *.tmp *._tmp 请稍等...
del /f /s /q %systemdrive%\*.tmp
del /f /s /q %systemdrive%\*._mp
echo 清空垃圾箱,备份文件和预缓存脚本...
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
rem cooke和最近历史还是保留吧...
rem del /f /q %userprofile%\COOKIES s\*.*
rem del /f /q %userprofile%\recent\*.*
echo 优化预读信息...
%windir%\system32\defrag.exe %systemdrive% -b
echo 清除系统完成!
@echo off
全部回答
- 1楼网友:白昼之月
- 2021-03-30 18:17
咏怀古迹·其五(杜甫)
- 2楼网友:夜余生
- 2021-03-30 17:25
参考一下百度经验:一键清理系统垃圾bat。对你会有帮助的!
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯