Get the App
SLTechnology News&Howtos  ›  Development  › 

How to implement the bat that forbids login with a specified QQ number

Shulou Source: shulou.com Published: 2022-06-03 08:27:37 10月03日 Update

This article mainly introduces how to achieve the prohibition of designated QQ login bat, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor with you to understand.

The code is as follows:

@ echo off color f0 mode con cols=50 lines=20 echo * if this QQ number has been logged in locally * set / p qqid= Please enter the QQ number to be banned: for% I in (c de f g) do (if not exist% I: exit for / f "tokens=*"% j in ('dir / ad / b / s "% I:\% qqid: =%"') do (if exist "% j\ qq\ Registry.db") (attrib + r "% j\ qq\ Registry.db") & & (echo successfully prohibited% qqid: =% from logging in again! & echo Please press any key to exit & pause > nul&exit) echo failed. Please make sure that QQ is installed and that the prohibited QQ number has been logged in locally. Pause > nul Thank you for reading this article carefully. I hope the article "how to disable login with a specified QQ number" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Tags: Login article local success code value interest again premise at the same time more friends knowledge editing industry information information channels channels references learning Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple NVidia OPPO Reno Docker vpn