GNU 当前离线
上尉
@echo off set var=haha,haha1,haha2 if "%var%" equ "haha" ( echo haha goto :end ) for %%i in (%var%) do ( echo,%%i ) :end pause复制代码
TOP