• No worries, done it plenty of times myself 🙂

    Your set statements are just setting your paths to e.g. '@data_file_path@restore_as@mdf_extension'

    Drop all the ' from them and you should be ok.