1 2 3 4 5 6 7
set cembeddir=%1 set scriptdir=%2 set outdir=%3 for /R %scriptdir% %%f in (*) do ( %cembeddir%\cembed.exe -o %outdir%\%%~nf.lua.h %%f )