数字2拼音[bat]
Batchfile语言: shuzi2pinyin
@echo off
SetLocal EnableDelayedExpansion
set ";= "
set "code=a b c d e f g h i j k l m n o p q r s t u v w x y z"
for %%a in (%code%) do (
:echo %%a
call :count_p
set !count!=%%a
)
:start
echo.
set /p xx=
for %%b in (%xx%) do (set /p ,=!%%b!<nul&&echo.)
goto :start
SetLocal EnableDelayedExpansion
set ";= "
set "code=a b c d e f g h i j k l m n o p q r s t u v w x y z"
for %%a in (%code%) do (
:echo %%a
call :count_p
set !count!=%%a
)
:start
echo.
set /p xx=
for %%b in (%xx%) do (set /p ,=!%%b!<nul&&echo.)
goto :start
:count_p
set /a count+=1
给某人看的,保存为xxx.bat就好了