zhuzizzq 当前离线
一级士官
@echo off set str=I love,bbs;bathome.net for %%a in (%str%) do echo %%a pause复制代码
TOP
dthaoa1 当前离线
lianfayong 当前离线
@echo off set str=I love,bbs;bathome.net for %%i in (%str%) do echo %%i pause复制代码
set str=I love,bbs;bathome.net for %%i in (%str%) do cls&%%i /for %%i in (%str%) do (set a=%%i) enter echo %a% pause复制代码
smallbaby 当前离线
@echo off set str=I love,bbs;bathome.net echo 看看: for %%i in (%str%) do if %%i==cn echo %%i pause复制代码
@echo off set str=I love,bbs;bathome.net echo 看看: for %%i in (%str%) do echo %%i pause复制代码
jiasongfu 当前离线
二级士官
@echo off set str=I love,bbs;bathome.net for %%i in (%str:~-2%) do echo %%i pause复制代码
qwe23068 当前离线
@echo off set "str=I love,bbs;bathome.net" for /f "delims=,;= tokens=4" %%i in ("%str%") do echo %%i pause复制代码
wsjxwj 当前离线
少校
echo off set str=i love,bbs;bathome.net for %%i in (i love,bbs;bathome.net ) do echo %%i pause > nul复制代码
echo off set str=i love,bbs;bathome.net for %%i in (%str%) do echo %%i pause > nul复制代码
set str=I love,bbs;bathome.net for %%a in (%str%) do if %%a==cn echo %%a pause复制代码
ghostwar 当前离线
@echo off for %%a-e in( i love bbs bathome.net ) do echo %%a-e pause复制代码
pumahxh 当前离线
四级士官
@echo off set str=I love,bbs;bathome.net echo The result of A1 is: for %%I in (%str%) do echo %%I echo The result of A2 is: for /f "delims== tokens=2" %%J in ("%str%") do echo %%J pause复制代码
lovemmls 当前离线
@echo off for %%i in (I love,bbs;bathome.net,) do echo %%i pause复制代码
@echo off for %%a in (I love、bbs、bathome.net) do set b=%%a echo %b% pause复制代码
hpwaley 当前离线
@echo off set str=I love,bbs;bathome.net for %%i in (%str%) do ( for %%a in (bbs bathome.net) do ( if %%i==%%a echo %%a ) ) pause复制代码
set str=I love,bbs;bathome.net for %%i in (%str%) do set aa=%%i echo %aa% pause复制代码
cy3579 当前离线