WINBATCH 114
Ff-prompt.bat By Code on 3rd September 2019 06:14:10 PM
  1. @ECHO OFF
  2. REM FF Prompt 1.2
  3. REM Open a command prompt to run ffmpeg/ffplay/ffprobe
  4. REM Copyright (C) 2013-2015  Kyle Schwarz
  5.  
  6. TITLE FF Prompt
  7.  
  8. IF NOT EXIST bin\ffmpeg.exe (
  9.   CLS
  10.   ECHO bin\ffmpeg.exe could not be found.
  11.   GOTO:error
  12. )
  13.  
  14. CD bin || GOTO:error
  15. PROMPT $P$_$G
  16. SET PATH=%CD%;%PATH%
  17. CLS
  18. ffmpeg -version
  19. ECHO.
  20. ECHO For help run: ffmpeg -h
  21. ECHO For formats run: ffmpeg -formats ^| more
  22. ECHO For codecs run: ffmpeg -codecs ^| more
  23. ECHO.
  24. ECHO Current directory is now: "%CD%"
  25. ECHO The bin directory has been added to PATH
  26. ECHO.
  27.  
  28. CMD /Q /K
  29. GOTO:EOF
  30.  
  31. :error
  32. ECHO.
  33. ECHO Press any key to exit.
  34. PAUSE >nul
  35. GOTO:EOF

PasteBin.Win is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.