清理系统垃圾文件代码(清理系统垃圾代码)

2023-01-03 精选经验 0阅读 投稿:佚名
最佳答案大家好,小问来为大家解答以上问题。清理系统垃圾文件代码,清理系统垃圾代码这个很多人还不知道,现在让我们一起来看看吧!1、@echo off2、echo 正在清除系统垃圾文件,请稍等......3、echo cleanmgr /sageset:994、echo cleanmgr /sagerun:995、del /f /s /q "%systemdrive%index.dat"6、del /f /s ...

大家好,小问来为大家解答以上问题。清理系统垃圾文件代码,清理系统垃圾代码这个很多人还不知道,现在让我们一起来看看吧!

1、@echo off

2、echo 正在清除系统垃圾文件,请稍等......

3、echo cleanmgr /sageset:99

4、echo cleanmgr /sagerun:99

5、del /f /s /q    "%systemdrive%index.dat"

6、del /f /s /q    "%systemdrive%*.tmp"

7、del /f /s /q    "%systemdrive%*._mp"

8、del /f /s /q    "%systemdrive%*.gid"

9、del /f /s /q    "%systemdrive%*.chk"

10、del /f /s /q    "%systemdrive%*.old"

11、del /f /s /q    "%windir%system32LogfilesW3SVC1*.*"

12、del /f /s /q    "%windir%system32LogfilesW3SVC2*.*"

13、del /f /s /q    "%windir%system32LogfilesW3SVC3*.*"

14、del /f /q    "%systemdrive%*.log"

15、del /f /q    "%windir%*.bak"

16、del /f /q    "%windir%*.log"

17、del /f /q    "%windir%*.txt"

18、del /f /s /q    "%windir%prefetch*.*"

19、del /f /s /q    "%windir%Temporary Internet Files*.*"

20、del /f /s /q    "%windir%Temporary Internet FilesContent.IE5*.*"

21、del /f /s /q    "%windir%emp*.*"

22、del /f /s /q    "%userprofile%Local SettingsTemporary Internet Files*.*"

23、del /f /s /q    "%userprofile%Local SettingsTemporary Internet FilesContent.IE5*.*"

24、del /f /s /q    "%userprofile%Local SettingsHistory*.*"

25、del /f /s /q    "%userprofile%Local SettingsHistoryHistory.IE5*.*"

26、del /f /s /q    "%userprofile%Local SettingsApplication DataIconCache.db"

27、del /f /s /q    "%userprofile%Local SettingsApplication DataMicrosoftFeeds Cache*.*"

28、del /f /s /q    "%userprofile%Local SettingsApplication Data*.ini"

29、del /f /s /q    "%userprofile%Local SettingsTemp*.*"

30、del /f /s /q    "%userprofile%Application DataMicrosoftOfficeRecent*.*"

31、del /f /s /q    "%userprofile%ecent*.*"

32、del /f /s /q    "%userprofile%Cookies*.*"

33、del /f /s /q    "%userprofile%UserData*.*"

34、del /f /s /q    "%userprofile%Application DataQQ*.*"

35、del /f /s /q    "%userprofile%Application DataQQUpdate*.*"

36、rd /s /q    "%userprofile%Application DataQQ"

37、rd /s /q    "%userprofile%Application DataQQUpdate"

38、echo 清除系统垃圾文件完成!

39、echo. @pause

以上就是【清理系统垃圾文件代码,清理系统垃圾代码】相关内容。

声明:荔枝百科 所有作品(图文、音视频)均由用户自行上传分享,仅供网友学习交流。若您的权利被侵害,请联系我们删除