- 创建脚本wechat.bat
- 编辑wechat.bat,内容如下:
@echo off
TASKKILL /F /IM wechat.exe
start /d "D:\Program Files (x86)\Tencent\WeChat" WeChat.exe
start /d "D:\Program Files (x86)\Tencent\WeChat" WeChat.exe
exit
脚本中的路径替换为实际的微信的启动文件路径
@echo off
TASKKILL /F /IM wechat.exe
start /d "D:\Program Files (x86)\Tencent\WeChat" WeChat.exe
start /d "D:\Program Files (x86)\Tencent\WeChat" WeChat.exe
exit
脚本中的路径替换为实际的微信的启动文件路径