Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 
 

28 righe
419 B

  1. @echo off
  2. setlocal
  3. cd /d "%~dp0"
  4. if exist "D:\Anaconda3\python.exe" (
  5. "D:\Anaconda3\python.exe" -B main.py
  6. goto :done
  7. )
  8. where py >nul 2>nul
  9. if not errorlevel 1 (
  10. py -3 -B main.py
  11. goto :done
  12. )
  13. where python >nul 2>nul
  14. if not errorlevel 1 (
  15. python -B main.py
  16. goto :done
  17. )
  18. echo Python 3 was not found.
  19. echo Install Python 3 and enable "Add Python to PATH", then try again.
  20. pause
  21. :done
  22. endlocal