在cygwin中执行bat文件
1 #!/bin/bash 2 3 dir_gen_image_bat=C:/MinGW/msys/1.0/home/Administrator/feitian_audio/FOTA_ROM_Package_Windows/ 4 file_gen_image_bat=gen_image.bat 5 6 7 8 cd ${dir_gen_image_bat} && cmd.exe /c ${file_gen_image_bat}
1 #!/bin/bash 2 3 dir_gen_image_bat=C:/MinGW/msys/1.0/home/Administrator/feitian_audio/FOTA_ROM_Package_Windows/ 4 file_gen_image_bat=gen_image.bat 5 6 7 8 cd ${dir_gen_image_bat} && cmd.exe /c ${file_gen_image_bat}