1 @echo off 2 call run_scapy_py2.bat --nopause 3 if errorlevel 1 ( 4 call run_scapy_py3.bat --nopause 5 ) 6 if errorlevel 1 ( 7 PAUSE 8 )