Files
ncs/generate-pshell-plugin-testing-list.bat
boccioli_m 38f8b0648b Startup
2016-01-15 13:14:32 +01:00

37 lines
693 B
Batchfile

@echo off
set myvar=
set sources[0]=config\administrator.properties
set sources[1]=config\standard.properties
set sources[2]=config\plugins.properties
set sources[3]=script\local.py
set sources[4]=script\tests\tests
set sources[5]=script\tests\devices
set sources[6]=script\tests\templates
set sources[7]=plugins\
set zipfile=pshell-plugin-testing-list.zip
rm %zipfile%
call :concat "C:\Program Files\7-Zip\7z.exe"
call :concat a
call :concat %zipfile%
for /F "tokens=2 delims==" %%s in ('set sources[') do call :addfile %%s
echo %myvar%
%myvar%
goto :eof
:addfile
call :concat %1
call :concat %1*
goto :eof
:concat
set myvar=%myvar% %1
goto :eof