Hello123World 当前离线
荣誉版主
@echo off :hello cls set b= set /p a=输入变量: :lp if not "%a%"=="" (set/a b+=1 set "a=%a:~1%" goto :lp ) echo 变量的字符数为:%b% pause>nul goto hello复制代码
TOP