1. 程式人生 > >批處理指令碼簡單破解smartGit

批處理指令碼簡單破解smartGit

@echo off & color 0A
::查詢smartGit資料夾
set smartGitPath=%APPDATA%\syntevo\SmartGit
for /f %%i in ('dir /b /ad "%smartGitPath%"') do (
echo %%i
)
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