codecombat/scripts/windows/coco-dev-setup/batch/scripts/get_array.bat
2014-04-04 12:52:22 -04:00

6 lines
No EOL
115 B
Batchfile

set "file=%1"
set /a %3=0
for /F "usebackq delims=" %%a in ("%file%") do (
set /A %3+=1
call set %2[%%%3%%]=%%a
)