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