
- 帖子
- 6
- 积分
- 113
- 技术
- 0
- 捐助
- 0
- 注册时间
- 2009-3-20
|
A:代码:
@echo off
set str="I love,bbs;bathome.net"
for /f "delims=,;= tokens=1-5" %%i in (%str%) do (echo %%i %%j %%k %%l %%m)
pause
B:代码:
@echo off
set str="I love,bbs;bathhome=cn"
for /f "delims== tokens=2" %%i in (%str%) do (echo %%i)
pause |
|