@chmod -R 777 Temp/recovery/*
@copy cyg\cyg* temp\recovery

@copy cpio.exe temp\recovery
@copy gzip.exe temp\recovery
@cd temp\recovery


cpio -o -H newc < filelist > recovery.img
gzip -1 recovery.img

@del /f /q cyg*
@del /f /q cpio.exe

@del /f /q gzip.exe
@cd ..
@cd ..
@move temp\recovery\recovery.img.gz temp\Image\recovery.img
AddCrc32 temp\Image\recovery.img temp\Image\recovery_crc.img
@del /f /q temp\Image\recovery.img
@move temp\Image\recovery_crc.img temp\Image\recovery.img