SHARE
TWEET

Untitled

a guest Sep 17th, 2019 117 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. for /f "delims=" %%n in ('%Apps%\mediainfo "--Inform=General;%%FileSize/String%%" "%Temp%\%output%\%dirname%.mkv"') do set size=%%n
  2. set rlssize=%size%
  3. if not "x%size:MiB=%" == "x%size%" goto mib
  4. if not "x%size:GiB=%" == "x%size%" goto gib
  5. :mib
  6. set rar=50000
  7. goto pack
  8. :gib
  9. echo %size%>>%temp%\%output%\%output%_rarfilesize.nfo
  10. %apps%\fart %temp%\%output%\%output%_rarfilesize.nfo " GiB" --remove
  11. for /f "tokens=1 delims=." %%i in ( %Temp%\%output%\%output%_rarfilesize.nfo ) do set size=%%i
  12. set /a rsize=%size% + 1
  13. if %rsize% LSS 29 set rar=300000
  14. if %rsize% LSS 24 ( set rar=250000 ) else ( goto pack )
  15. if %rsize% LSS 19 ( set rar=200000 ) else ( goto pack )
  16. if %rsize% LSS 14 ( set rar=150000 ) else ( goto pack )
  17. if %rsize% LSS 9 ( set rar=100000 ) else ( goto pack )
  18. if %rsize% LSS 4 ( set rar=50000 ) else ( goto pack )
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top