批处理简单脚本

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u014427391/article/details/84194824
@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

猜你喜欢

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