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