标签: batch-file
我有这样的代码:
set i=0 FOR /F "delims=;" %%p IN (projects.properties) DO ( set modules[!i!]=%%p set /A i=i+1 )
和属性:
projectA; projectB;
致电:
for /F "tokens=2 delims==" %%m in ('set modules[') do (...)
我只得到了projectB ......我做错了什么?