GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — MapTextLang/update.bat at master · jjchack/MapTextLang Expand file tree/ Copy pathupdate.batMore file actions 55 lines (42 loc) · 1.64 KB / Copy pathupdate.batFile metadata and controls55 lines (42 loc) · 1.64 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 cd /d "G:\GitSYNC\MapTextLang" git pull origin master @echo off set "sd=F:\CSGOSERVER\csgoserverzev2\csgo\addons\sourcemod\configs\console_t" set "dd=G:\GitSYNC\MapTextLang\maptext" rem -2前天,-1昨天,0今天 set d=-1 for /f %%a in ('mshta VBScript:Execute("NewDate=date+(%d%):FmtDate=right(year(NewDate),4)&right(""0""&month(NewDate),2)&right(""0""&day(NewDate),2):CreateObject(""Scripting.FileSystemObject"").GetStandardStream(1).Write FmtDate:close"^)') do set yd=%%a echo;昨天日期为%yd% cd /d "%sd%" if not exist "%dd%" md "%dd%" setlocal enabledelayedexpansion for /f "delims=" %%i in ('dir *.*/a-d /b /s') do ( set fd=%%~ti set fd=!fd:~,10! set fd=!fd:-=! set fd=!fd:/=! if "!fd!"=="%yd%" ( copy "%%i" "%dd%" /y 2>nul||(attrib -r -s -h "%%i"& copy "%%i" "%dd%" /y >nul) ) ) @echo off set "sd=F:\CSGOSERVER\csgoserverzev2\csgo\addons\sourcemod\configs\bosshit" set "dd=G:\GitSYNC\MapTextLang\bosshit" rem -2前天,-1昨天,0今天 set d=-1 for /f %%a in ('mshta VBScript:Execute("NewDate=date+(%d%):FmtDate=right(year(NewDate),4)&right(""0""&month(NewDate),2)&right(""0""&day(NewDate),2):CreateObject(""Scripting.FileSystemObject"").GetStandardStream(1).Write FmtDate:close"^)') do set yd=%%a echo;昨天日期为%yd% cd /d "%sd%" if not exist "%dd%" md "%dd%" setlocal enabledelayedexpansion for /f "delims=" %%i in ('dir *.*/a-d /b /s') do ( set fd=%%~ti set fd=!fd:~,10! set fd=!fd:-=! set fd=!fd:/=! if "!fd!"=="%yd%" ( copy "%%i" "%dd%" /y 2>nul||(attrib -r -s -h "%%i"& copy "%%i" "%dd%" /y >nul) ) ) cd /d "G:\GitSYNC\MapTextLang" git add . && git commit -m autoupdate && git push origin master |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |