Put the *.SQL files that need to be applied to the MAX company database in a TEMP folder on the SQL Server and run the following command in a command prompt window from the TEMP folder, replacing SQL_Server and MAX_Company_Database with the correct information:
for %%G in (*.sql) do sqlcmd /S SQL_Server /d MAX_Company_Database -E -i"%%G"