1
if EXIST names del names > nul
2
echo mode(0);>tmp_Macros
3
for %%f in (*.sci) do echo %%~nf>>names
4
for %%f in (*.sci) do echo getf('%%f'),save('%%~nf.bin'),clear ;>>tmp_Macros
6
..\..\..\bin\scilex.exe -ns -nwni -f tmp_Macros
7
..\..\..\bin\scilex.exe -ns -nwni -e scsthresholdlib=lib('SCI/macros/scicos_blocks/Threshold/');save('SCI/macros/scicos_blocks/Threshold/lib',scsthresholdlib);exit
8
echo scsthresholdlib=lib('SCI/macros/scicos_blocks/Threshold');save('SCI/macros/scicos_blocks/Threshold/lib',scsthresholdlib);exit>genlib