
- 帖子
- 77
- 积分
- 88
- 技术
- 0
- 捐助
- 0
- 注册时间
- 2015-7-29
|
A1
@echo off
set "str=I love,bbs;bathome=net"
for /f "tokens=1-5 delims=,;= " %%i in ("%str%") do (
echo %%i %%j %%k %%l %%m
)
pause>nul
A2
@echo off
set "str=I love,bbs;bathome=net"
for /f "tokens=2 delims==" %%i in ("%str%") do (
echo %%i
)
pause>nul |
|