I'd like to say thanks for the great kitchen.
One feature I added to your kitchen was the ability to remove the files from an OS.nb.payload file. I keep backups of my OEM, SYS, and ROM folders and having the template OS.nb.payload full of files it just deletes when you actually create the ROM wasted space.
Code:
echo (15) Reduce Extracted ROM folder
Code:
:15
pushd ROM
..\Tools\ImgfsFromNb OS.nb.payload imgfs.bin
mkdir dump
..\Tools\ImgfsFromDump imgfs.bin imgfs-new.bin
del imgfs.bin
rd dump /s /q
..\Tools\ImgfsToNb imgfs-new.bin OS.nb.payload OS-new.nb.payload
del imgfs-new.bin
del OS.nb.payload
move OS-new.nb.payload OS.nb.payload
popd
goto :Main