String replacement in SQLCMD
If I understand your question correctly, let me try providing an alternate solution.

You could write a quick powershell script to automate the whole process - 
-reading source .sql files
In a loop -
-replacing 'Alerts' word with A (B and C).
-run those files calling sqlcmd within the powershell script