smartGit长期使用批处理脚本

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u014427391/article/details/86548184

看到网上很多实现smartgit简单破解的方法,其实就是删除smartgit配置文件,让smartgit还可以试用一个月,依此循环达到一直使用,不过,每个月都要重复一遍删除配置文件,所以我就改写了一下bat批处理脚本
这个settingsPath=%smartGitPath%\18.1\settings.xml,需要根据自己安装版本修改

@echo off & color 0A
::查找smartGit文件夹
set smartGitPath=%APPDATA%\syntevo\SmartGit
set settingsPath=%smartGitPath%\18.1\settings.xml
::删除smartGit配置文件
if exist %settingsPath% (del %settingsPath%
echo delete smartgit settings.xml success) else (echo can not find smargit settings)
echo 4 second exit...
ping -n 4 127.1>nul
exit

猜你喜欢

转载自blog.csdn.net/u014427391/article/details/86548184