Skip to content

Instantly share code, notes, and snippets.

@oflow
Created July 8, 2015 15:06
Show Gist options
  • Save oflow/0effc9550048302a29bb to your computer and use it in GitHub Desktop.
Save oflow/0effc9550048302a29bb to your computer and use it in GitHub Desktop.
「送る」のメニューからALACへエンコードするやつ
@echo off
setlocal enabledelayedexpansion
set QAAC=D:\bin\qaac\qaac64.exe
rem --alac : Apple Lossless Audio Codec
set QAACOPT=--alac
set EXT=.m4a
for %%i in (%*) do (
set input=%%i
set name=%%~ni
echo Encoding !input!
"%QAAC%" %QAACOPT% !input! -o "!name!%EXT%"
)
echo Encoding done
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment