codecombat/scripts/windows/coco-dev-setup/batch/get_array.bat
2014-03-23 17:32:54 +01:00

6 lines
No EOL
120 B
Batchfile
Executable file

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