You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
167 B

3 years ago
  1. @echo off
  2. set /p value=please input com num:
  3. if /i "%value:~0,3%" == "com" (
  4. idf.py build
  5. idf.py -p %value% flash
  6. idf.py -p %value% monitor
  7. )else (
  8. echo error
  9. pause
  10. )