echo ^^ > index.html dir *.js /s /b > tmpfile for /F "tokens=*" %%A in (tmpfile) do ( echo ^