
@echo off
rem ...................................cut.....................

TOOLS\ImgfsFromNb OS.nb.payload imgfs.bin
TOOLS\ImgfsFromDump imgfs.bin imgfs-new.bin
TOOLS\ImgfsToNb imgfs-new.bin os.nb.payload os-new.nb.payload
del *.bin
del os.nb.payload
ren os-new.nb.payload os.nb.payload
echo                          Payload was reduced successfull
pause
rem ..............end cut..................
