lame.bat

来自「MP3编码程序和资料」· Batch 代码 · 共 37 行

BAT
37
字号
@echo off
rem  ------------------------------------------
rem  PURPOSE:
rem  put this Batch-Command on your Desktop, 
rem  so you can drag and drop wave files on it
rem  and LAME will encode them to mp3 format.
rem  NOTE:
rem  DOS has only 8+3 file names!
rem  ------------------------------------------
rem                       C2000 Robert Hegemann
rem                      Robert.Hegemann@gmx.de
rem  ------------------------------------------
rem  please set LAME and LAMEOPTS
rem  LAME - where the executeable is
rem  OPTS - options you like LAME to use

	set LAME=lame.exe
	set OPTS=--preset cd

rem  ------------------------------------------

	set thecmd=%LAME% %OPTS%
:processArgs
	if "%1"=="" goto endmark
	for %%f in (%1) do %thecmd% %%f
	if errorlevel 1 goto errormark
	shift
	goto processArgs
:errormark
	echo.
	echo.
	echo ERROR processing %1
	echo. 
:endmark
rem
rem	finished
rem

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?