• Create a batch file and save it in the directory where all the sql files are located. To do that follow the below:

    1) Open notepad and copy the below:

    for %%G in (*.sql) do sqlcmd /S SQLSRV01 /d accounts -E -i"%%G"

    pause

    2)Save the file as UAT01.txt

    3)Once the file is saved go to the directory where you saved it, and delete .txt and replace it with .bat so it should now read UAT01.bat