learn how to use FOR (i thought you did)
for %i in (*.sql) do sqlcmd -i % ...
(% has to be doubled %% inside .cmd script)
MP