[root@localhost blog]# cat StartWriting.bat @echo off REM Ȑ»»ƌ· echo %~d0 %~d0 REM ½ǰĿ¼ echo %~dp0 set blogRoot=%~dp0 cd %blogRoot% echo ´ostĿ¼:%~dp0source\_posts set postRoot=%~dp0source\_posts explorer %postRoot% echo ՚%blogRoot%Ŀ¼Ђ´it-bash start git-bash --cd=%blogRoot%
choice /t 10 /d n /m ˇ·¡Զ³̸𩄬ɏ²»-ȡ)
IF ERRORLEVEL 2 goto end
echo -ȡԶ³̷ז§ git pull origin master :end REM echo ³͐ REM pause[root@localhost blog]#