BAT
EnjoyGet
工控上位机10年经验,高级软件工程师,精通C#(Window)/ObjectiveC(MacOS)语言
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Batch file get string length study notes
@echo offsetlocal enabledelayedexpansionset str=%1set /a x=0call :StrLenendlocalgoto :eof:StrLenif not "!str:~%x%,1!" == "" set /a x+=1 & goto StrLenecho StringLenth=%x%goto :eof原创 2018-06-17 16:05:51 · 244 阅读 · 0 评论 -
Batch file get month list study notes
useage: Get_MonthList.bat %NowMonth% %Num%The %NowMonth% is the latest year and month, and the %Num% defines how many months need to listSee code:@echo off & setlocal enabledelayedexpansionset nu...原创 2018-06-17 16:50:20 · 174 阅读 · 0 评论
分享