Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @if %1x==x @(
- echo.
- echo Hello! Please don't double-click me.
- echo Instead, drag and drop a file or a directory to transcode.
- echo.
- pause
- goto :eof
- )
- "%~dp0programs\setbatpriority.exe" low
- @for %%i in ("%~dp0programs\auto5.bat") do @set AUTOHARD=%%~si
- :startenc
- @set AHSFILEATTR=%~a1
- @set AHSFILEDIR=%AHSFILEATTR:~0,1%
- @if "%AHSFILEDIR%" == "d" goto dirmode
- :filemode
- call "%AUTOHARD%" "%~dps1%~nx1" bluray
- @goto :nextenc
- :dirmode
- @for %%a in ("%~s1\*.mkv") do call "%AUTOHARD%" "%%a" bluray
- :nextenc
- @shift /1
- @if not %1x==x @goto :startenc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement