bat files: "command not found" -


i have 2 bat files a) h:\ad009\apk_apps_oppogallery2\oppogallery2\oppogallery3d_n1\123.bat

   ant release 

b) d:\users\administrator\desktop

@echo off  rem 关闭自动输出 rem 接收输入 :begin set home=h:\n1_rom_svn685\apq\linux set target=msm8960 set psfile=c:/ps.log   set input=0 echo project=%home% echo 0: adbshell echo 1: vendor_server echo 2: libcameraservice echo 3: pushapk echo 4: compileapk echo -1: exit set /p input=请输入字符串:   rem 输出得到的输入信息  echo 您输入的字符串是:%input%  adb remount if %input%==0 goto adbshell if %input%==1 goto vendor_server if %input%==2 goto libcameraservice if %input%==3 goto pushapk if %input%==4 goto compileapk if %input%==-1 goto exit   :libmmcamera_frameproc.so echo libandroid_runtime.so adb push %home%\out\target\product\%target%\system\lib\libmmcamera_frameproc.so /system/lib/ goto kill  :vendor_server echo camera.msm8960.so adb push %home%\out\target\product\%target%\system\lib\hw\camera.msm8960.so /system/lib/hw/ adb push %home%\out\target\product\%target%\system\lib\liboemcamera.so                         /system/lib adb push %home%\out\target\product\%target%\system\lib\libmmcamera_3a_legacy.so                /system/lib adb push %home%\out\target\product\%target%\system\lib\libmmcamera_statsproc31.so              /system/lib adb push %home%\out\target\product\%target%\system\lib\libmmcamera_plugin.so                   /system/lib adb push %home%\out\target\product\%target%\system\lib\libmmcamera_frameproc.so                /system/lib adb push %home%\out\target\product\%target%\system\lib\libmmcamera_cpp.so                      /system/lib adb push %home%\out\target\product\%target%\system\lib\libmmcamera_interface.so                /system/lib adb push %home%\out\target\product\%target%\system\lib\libmmcamera_interface2.so               /system/lib adb push %home%\out\target\product\%target%\system\lib\libchromatix_imx135_default_video.so    /system/lib adb push %home%\out\target\product\%target%\system\lib\libchromatix_imx135_preview.so          /system/lib adb push %home%\out\target\product\%target%\system\lib\libchromatix_imx135_zsl.so              /system/lib adb push %home%\out\target\product\%target%\system\lib\libchromatix_imx135_hfr_120fps.so       /system/lib adb push %home%\out\target\product\%target%\system\lib\libchromatix_s5k6a3yx_default_video.so  /system/lib adb push %home%\out\target\product\%target%\system\lib\libchromatix_s5k6a3yx_preview.so        /system/lib adb push %home%\out\target\product\%target%\system\lib\libchromatix_s5k6a3yx_zsl.so            /system/lib adb push %home%\out\target\product\%target%\system\lib\libchromatix_s5k6a3yx_video_hd.so       /system/lib adb push %home%\out\target\product\%target%\system\lib\hw\camera.msm8960.so                    /system/lib/hw goto kill  :libcameraservice echo libcameraservice.so adb push %home%\out\target\product\%target%\system\lib\libcameraservice.so /system/lib/ goto kill  :pushapk echo oppogallery.apk goto kill  :compileapk cd /d h:\ad009\apk_apps_oppogallery2\oppogallery2\oppogallery3d_n1 start h:\ad009\apk_apps_oppogallery2\oppogallery2\oppogallery3d_n1\123.bat goto kill  :kill adb shell ps > %psfile% python d:\users\administrator\desktop\hello.py %psfile% adb shell kill %errorlevel% goto begin  :adbshell adb shell  :end set input = 0; goto begin  :exit echo bye pause 

i enter 4, want label "compileapk" executed, report can't find ant

when typed "echo %path%", can find ant'spath in output.

but when double click 123.bat manually, can executed.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -