Wednesday, July 28, 2010

[Tip] Batch Script3 (예)

1. MACIS

FOR /R "D:\Test\" %%f IN ("*.*") Do MACISExtractConApp.exe "%%f" "D:\Test_2\%%~nxf.vff" 0 -1 0 -1 "D:\Test\MPAA\OrgLog.txt"

2. MAO

FOR /R "D:\Test\" %%f IN ("*.*") Do MAOEmbedConApp.exe 1 23567 "%%f" "D:\Test\%%~nf_wm.wav"

3. Test

FOR /R "D:\Test\" %%f IN ("*.*") Do MAOEmbedConApp.exe 1 23567 "%%f" "%~dpf\%%~nxf_wm.temp"

%~df : 드라이브

%~pf : 경로

%~nf : 파일명

%~xf : 확장자