postromimage.bat

来自「WINDOWS CE BSP用于SBC2440开发板」· Batch 代码 · 共 24 行

BAT
24
字号
@REM
@REM Copyright (c) Microsoft Corporation.  All rights reserved.
@REM
@REM
@REM Use of this source code is subject to the terms of the Microsoft end-user
@REM license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
@REM If you did not accept the terms of the EULA, you are not authorized to use
@REM this source code. For a copy of the EULA, please see the LICENSE.RTF on your
@REM install media.
@REM
@echo off
REM
REM ** This batch file renames nk.bin and updates the multi-region manifest file. **
REM ** This platform uses a multi-region image and we're renaming nk.bin to avoid **
REM ** the case where it's mistakenly downloaded instead of xip.bin or chain.lst. **
REM
cd /d %_FLATRELEASEDIR%
REM copy /y nk.bin core.bin > nul
REM del /f nk.bin > nul
REM echo +CORE.BIN > chain.new
REM type chain.lst | findstr /i /v +nk.bin >> chain.new
REM copy /y chain.new chain.lst > nul
REM del /f  chain.new > nul

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?