自动压缩源代码的脚本

BAT file: @for /F “tokens=1,2,3 delims=- “”” %%i in (“%date%”) do @set shortdate=%%i%%j%%k @for /l %%i in (1,1,100) do @( @if NOT exist src%shortdate%-%%i.zip @( @if NOT exist src%shortdate%-%%i.rar @( @zip -9 -r src%shortdate%-%%i.zip Comm Sender -x *.exe *.~* *ModelSupport* *_history* *.dcu @echo Zipped into src%shortdate%-%%i.zip @goto END ) ) ) :END 用这个脚本来自动压缩源代码~ 比手动压缩方便许多…

Batch file to automatically pack source

BAT file: @for /F “tokens=1,2,3 delims=- “”” %%i in (“%date%”) do @set shortdate=%%i%%j%%k @for /l %%i in (1,1,100) do @( @if NOT exist src%shortdate%-%%i.zip @( @if NOT exist src%shortdate%-%%i.rar @( @zip -9 -r src%shortdate%-%%i.zip Comm Sender -x *.exe *.~* *ModelSupport* *_history* *.dcu @echo Zipped into src%shortdate%-%%i.zip @goto END ) ) ) :END 用这个脚本来自动压缩源代码~ 比原来方便多了~ Old …

Continue reading ‘Batch file to automatically pack source’ »

BS SJTU…

SJTU 做事不厚道…… Hearson 他们周五上午打电话去是A档(保送,提前上课),等到周一早上通知书过来成了D档(高考,+20分),SJTU太不厚道了! Hearson,我相信,你通过高考一定能进入 SJTU 或比 SJTU 更好的学校!我知道这个事情不可能让你失去斗志!再次 BS SJTU! 感兴趣的可以去搜搜看“交大 招生 黑幕”……