@echo off
cd G:\NV_Eeprom_200414\Windows
if exist "G:\NV_Eeprom_200414\Windows\automotive.cfg" (
nvcamencoder --input=automotive.cfg --input=surface2_20190515.cfg --output=F008A120RM0A_200323_000004.bin
)
else(
echo Not exist automotive.cfg file! Please make it.
)
@echo ENDING
挺简单的,这是一个bat处理的脚本,你看不懂的关键字在cmd命令符下找那个关键字的解释就行了哦。
关闭回显
进入 G:\NV_Eeprom_200414\Windows 目录
如果存在 "G:\NV_Eeprom_200414\Windows\automotive.cfg" 这个文件 ,则 运行 nvcamencoder ,后面的都是运行这个程序的参数
否则 显示 "Not exist automotive.cfg file! Please make it."
回显结束