RosettaCodeData/Task/Loops-Foreach/Batch-File/loops-foreach-2.bat

6 lines
102 B
Batchfile
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
@echo off
set "collection=This is a sample collection"
for %%A in (%collection%) do (
echo %%A
)