首页 技术 正文
技术 2022年11月23日
0 收藏 525 点赞 2,967 浏览 1445 个字

1、清理系统垃圾文件

将如下命令保存到一个bat文件中,执行,删除垃圾文件

@echo off
net share c$ /del
net share d$ /del
net share e$ /del
net share f$ /del
net share g$ /del
net share h$ /del
net share admin$ /del
echo 正在清除系统垃圾文件,请稍等......
del /f /s /q %systemdrive%\*.tmp
del /f /s /q %systemdrive%\*._mp
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%\Local Settings\History\*.*"
del /f /s /q "%userprofile%\Cookies\*.*"
del /f /s /q "%userprofile%\recent\*.*" del /f /s /q "%userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files\*.*"del /f /s /q "%USERPROFILE%\AppData\Local\Temp\*.*"
del /f /s /q "%USERPROFILE%\AppData\Local\Temp\*.*"echo 清除系统LJ完成!

2、C盘清理

鼠标右键C盘->属性(Property)->常规(General)->磁盘清理(Disk Cleanup),然后把该删除的全部删除掉

3、到 目录  C:\Users\xxx\My Documents\WeChatFiles,其中xxx为当前用户名,该删的删除吧。然后在微信设置里,把文件目录设置到其它盘符上。如果该目录下 还有Tencent文件夹,那就是装了QQ了,把里面该清理的清理了,然后在QQ的设置里面把接收文件等目录设置到其它盘符吧

4、如果使用了休眠,可以把休眠关掉,节约C盘空间。关闭休眠命令

powercfg -h off

如果还想在以后使用休眠的话,启用休眠,命令行执行如下命令

powercfg -h on

5、如果还是空间不足,将C盘上默认的虚拟内存设置,清理掉即可。

我的电脑->右键->属性->高级系统设置(Advanced system settings)->高级(advanced)->性能(Performance)->设置(Settings)->高级(advanced)->虚拟内存(Virtual memory)->更改(change…)->选中C盘后设置为 无分页文件(no paging file)->点击设置(set),然后确定,重启电脑。

相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:8,964
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,486
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,331
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,114
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:7,747
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:4,781