【bat 工具汇总】

1、清理C盘垃圾文件
命名为clean.bat 内容如下

@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%\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%\recent\*.*" 
echo 清除系统垃圾完成!
echo. & pause

2、微信多开
命名为doublewechat.bat 内容如下


@echo off
chcp 65001>nul 2>nul
mode con cols=50 lines=10
color 0a
title=微信多开
set wechat_path=".\WeChat.exe"
if exist %wechat_path% (goto start) else (goto exit)
:start
tasklist | find /i "WeChat.exe">nul 2>nul && taskkill /f /t /im WeChat.exe>nul 2>nul && echo 已关闭微信进程  
set /p start_num= 请设置多开微信个数:
if [%start_num%]==[] (set start_num=1)
for /L %%a in (1 1 %start_num%) do start "" %wechat_path%
exit
:exit
echo 请将本文件移动到WeChat.exe同级目录下
pause:
exit

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

samRsa

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值