Share a message about the IRC chat software Xcahtforwindows batch processing-general Linux technology-Linux technology and application. For more information, see the following. [I = s] This post was last edited by yanyongkg
Have you ever used Xchat for windows? After the one-month trial period, you are always prompted to register. If you do not register, you will not be able to enter the chat room normally. In versions earlier than 2.8.9, if you delete a registry value named installed, the registration information is not displayed. In Versions later than 2.8.9, this vulnerability seems to have been fixed.
2.8.9 and later versions solution: uninstall the agent, clear the xchat related values in the registry, and delete the installation directory.
It is quite troublesome to manually clean up each time, so I wrote a batch for help. Of course, uninstall.exeand install.exe require interactive operations.
The path is changed as needed, and the file is saved as *. bat for execution.
CODE: @ echo off
Select whether to execute echo or not (yes or no ):
Set/p mychoose =
If "% mychoose %" = "yes" goto yes
If "% mychoose %" = "y" goto yes
If "% mychoose %" = "no" goto no
If "% mychoose %" = "n" goto no
: Yes
D: \ xchat \ uninstall.exe
Rd/s/q d: \ xchat
Reg delete HKCU \ software \ xchat/f
Reg delete HKLM \ software \ xchat/f
D: \ xchat-2.8.9.exe
Echo "execution completed! "
Pause
Exit
: No
Echo "not executed! "
Pause
Exit |