Hello123World 当前离线
荣誉版主
@echo off&SetLocal EnableDelayedExpansion Set str=i like the bathome,because here is the batch of the world. Set n=0 Set str=%str: =% Set a= :loop Set a=!str:~%n%,1! if not "%a%"=="" (Set /a n+=1 & goto loop ) Else (echo !n!) pause>nul复制代码
TOP