:: Erase flash set /p pport=Enter a Com port echo %pport% pause esptool.py --port %pport% erase_flash pause