• Has anyone got any ideas why this script has not worked?

    Is it because I am using an Express version of SQL?

    Is it because the databases do not already exist on this SQL server - they were backed up using a maintenance plan on another MS SQL Server?

    Off topic, why does SQL Server not allow a maintenance plan to be created to restore bak files but allow them to be backed up?