The principle of cool dog advertising can be found on the Internet.
Game. ini
Game. inicfg
Optionv5.ini
Optionv5.inicfg
I am a bit embarrassed, the following operations:
1. Delete these configuration files and create a folder with the same name as the configuration file.
2. Create a CON sub-folder under the folder with the same name as the newly created configuration file. This step ensures that the de-advertising effect does not rebound.
3. Delete the folder named "AD", create a blank file with the same name, and set its document attribute to read-only
==== The advertisement has been deprecated. to visualize the new file or folder, you can set it as a hidden property ====
In order to make it easier for the public, a batch is written in the above steps and tested on the local machine for your use.
The batch processing code is as follows:Copy codeThe Code is as follows: @ echo off
Title codoy music 2010 AD approval By SunTB
Echo. & set kg_pth = C: \ Program Files \ KuGou \ KuGou2010
If exist "% kg_pth % \ KuGoo.exe "(
The valid default path of echo's current cool dog program is % kg_pth %.
Echo. & set/p tmpstr = to change <nul
)
Set/p kg_pth = enter the path of the folder where the cool dog program is located:
If not exist "% kg_pth % \ KuGoo.exe" (the echo. & echo input path is incorrect. Press any key to exit & pause> nul & exit)
: Abort the cool dog program in the current process
Taskkill/f/im KuGoo.exe 1> nul 2> nul
: Handle ads
If exist "% kg_pth % \ AD \" rd/q/s "% kg_pth % \ AD \"
If exist "% kg_pth % \ AD" attrib-s-h-r "% kg_pth % \ AD"
Cd.> "% kg_pth % \ AD"
Attrib + s + h + r "% kg_pth % \ AD"
For % a in (game. ini game. inicfg optionv5.ini optionv5.inicfg) do (
If exist "% kg_pth % \ % a" attrib-s-h-r "% kg_pth % \ %"
If not exist "% kg_pth % \ % \"(
If exist "% kg_pth % \ % a" del/f/q "% kg_pth % \ %"
Md "% kg_pth % \ %"
)
If not exist "% kg_pth % \ % a \ CON"
Cd.> "\. \ % kg_pth % \ % a \ CON"
Attrib + s + h + r "% kg_pth % \ %"
)
: Prepare to exit
Echo. & echo ==== advertised, press any key to automatically start the cool dog and exit ====
Pause> nul
Start "% kg_pth % \ KuGoo.exe"
Exit