- 帖子
- 49
- 积分
- 102
- 技术
- 0
- 捐助
- 0
- 注册时间
- 2010-4-23
|
@echo off&setlocal enabledelayedexpansion
:main
cls
set/p nums=Please input the numbers(not more than 16 nums) to be added,separated by spacebar:
set /a n=0,m=0
for %%i in (%nums%) do set #!n!=%%i&set/a n+=1
if %n% gtr 15 goto :main
(for /f "delims=" %%j in (test.txt) do (
set /a num=m%%n
for %%c in (!num!) do echo,%%j:!#%%c!
set /a m+=1
))>new.txt |
-
1
评分人数
-
-
CrLf:
请把超过一行的代码用 code 括起来PB -2
|