Skip to content

Instantly share code, notes, and snippets.

@sys9kdr
Created September 20, 2013 01:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sys9kdr/6632340 to your computer and use it in GitHub Desktop.
Save sys9kdr/6632340 to your computer and use it in GitHub Desktop.
lhaforgeでb2eから引っ張ってくるbatファイル。 zopfli.exeとgzipをファイルサイズでざくっと区切って使う。 zopfliのファイルサイズの問題がデカい。
@if not "%~0"=="%~dp0.\%~nx0" start /min cmd /c,"%~dp0.\%~nx0" %* & goto :eof
if %~z1 LSS 536870912 ( start /min c:\zip\zopfli.exe -i150 "%1" ) else "C:\Program Files (x86)\LhaForge\LhaForge.exe" "%1" /c:gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment