TC官方合作论坛

标题: 请问用什么命令可以打开C:\Documents and Settings\Administrator\Loca... [打印本页]

作者: ga880    时间: 2015-3-23 10:06
标题: 请问用什么命令可以打开C:\Documents and Settings\Administrator\Loca...
C:\Documents and Settings\Administrator\Local Settings\Temp  这是临时文件,也是TC释放的地方,我想自己打开来清理,可是这个命令没反映,
    辅助.命令("C:\\Documents and Settings\\Administrator\\Local Settings\\Temp",false)这个命令打不开.

作者: 千叶de悠一    时间: 2015-3-23 11:55
@echo off
color 0a
title windows7系统垃圾清理---
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.

作者: hlincs    时间: 2015-3-23 13:15
可以把1楼@千叶de悠一 提供代码复制到文本文件另存为“windows7系统垃圾清理.bat",然后用 辅助.命令高用。

  1. @echo off
  2. color 0a
  3. title windows7系统垃圾清理---
  4. echo ★☆ ★☆ ★☆ ★☆ ★☆★☆★☆ ★☆ ★☆ ★☆ ★☆★
  5. echo ★☆ ★☆ ★☆ ★☆ ★☆★☆★☆ ★☆ ★☆ ★☆ ★☆★
  6. echo.★☆                                              ☆★
  7. echo.★☆                                              ☆★
  8. echo.★☆   清理系统垃圾文件,请稍等......             ☆★
  9. echo ★☆                                              ☆★
  10. echo.★☆                                              ☆★
  11. echo ★☆ ★☆ ★☆ ★☆ ★☆★☆★☆ ★☆ ★☆ ★☆ ★☆★
  12. echo ★☆ ★☆ ★☆ ★☆ ★☆★☆★☆ ★☆ ★☆ ★☆ ★☆★
  13. echo 清理垃圾文件,速度由电脑文件大小而定。在没看到结尾信息时
  14. echo 请勿关闭本窗口。
  15. echo 正在清除系统垃圾文件,请稍后......
  16. echo 删除补丁备份目录
  17. RD %windir%\$hf_mig$ /Q /S
  18. echo 把补丁卸载文件夹的名字保存成2950800.txt
  19. dir %windir%\$NtUninstall* /a:d /b >%windir%\2950800.txt
  20. echo 从2950800.txt中读取文件夹列表并且删除文件夹
  21. for /f %%i in (%windir%\2950800.txt) do rd %windir%\%%i /s /q
  22. echo 删除2950800.txt
  23. del %windir%\2950800.txt /f /q
  24. echo 删除补丁安装记录内容(下面的del /f /s /q %systemdrive%\*.log已经包含删除此类文件)
  25. del %windir%\KB*.log /f /q
  26. echo 删除系统盘目录下临时文件
  27. del /f /s /q %systemdrive%\*.tmp
  28. echo 删除系统盘目录下临时文件
  29. del /f /s /q %systemdrive%\*._mp
  30. echo 删除系统盘目录下日志文件
  31. del /f /s /q %systemdrive%\*.log
  32. echo 删除系统盘目录下GID文件(属于临时文件,具体作用不详)
  33. del /f /s /q %systemdrive%\*.gid
  34. echo 删除系统目录下scandisk(磁盘扫描)留下的无用文件
  35. del /f /s /q %systemdrive%\*.chk
  36. echo 删除系统目录下old文件
  37. del /f /s /q %systemdrive%\*.old
  38. echo 删除回收站的无用文件
  39. del /f /s /q %systemdrive%\recycled\*.*
  40. echo 删除系统目录下备份文件
  41. del /f /s /q %windir%\*.bak
  42. echo 删除应用程序临时文件
  43. del /f /s /q %windir%\prefetch\*.*
  44. echo 删除系统维护等操作产生的临时文件
  45. rd /s /q %windir%\temp & md %windir%\temp
  46. echo 删除当前用户的COOKIE(IE)
  47. del /f /q %userprofile%\cookies\*.*
  48. echo 删除internet临时文件
  49. del /f /s /q "%userprofile%\local settings\temporary internet files\*.*"
  50. echo 删除当前用户日常操作临时文件
  51. del /f /s /q "%userprofile%\local settings\temp\*.*"
  52. echo 删除访问记录(开始菜单中的文档里面的东西)
  53. del /f /s /q "%userprofile%\recent\*.*"
  54. echo
  55. echo ★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★
  56. echo ★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★
  57. echo ★☆                                                          ☆★
  58. echo.★☆                                                          ☆★
  59. echo.★☆                                                          ☆★
  60. echo ★☆                                                          ☆★
  61. echo ★☆                恭喜您!清理全部完成!                    ☆★
  62. echo.★☆                                                          ☆★
  63. echo ★☆                                                          ☆★
  64. echo.★☆                                                          ☆★
  65. echo ★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★
  66. echo ★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★
  67. echo.
复制代码





欢迎光临 TC官方合作论坛 (http://bbs.52tc.co/) Powered by Discuz! X3.1