@ECHO OFF
for /F "usebackq tokens=1,2 delims==" %%i in (`wmic os get LocalDateTime /VALUE 2^>NUL`) do if '.%%i.'=='.LocalDateTime.' set ldt=%%j
set ldt=%ldt:~0,4%-%ldt:~4,2%-%ldt:~6,2%_%ldt:~8,2%.%ldt:~10,2%.%ldt:~12,6%
cmd.exe /K "cd .. && copy config.php configBackupCopy.php /y && git checkout master && git pull && copy configBackupCopy.php config.php /y && del /f configBackupCopy.php && cd tools && update_readme.bsh"  
