RESTORE DATABASE %DATABASE% 
 FROM DISK = '%APPDIR%\BOSS_Company.bak'
 WITH 
    MOVE 'BossCompany_Bank_data' TO '%PATHDATA%\%DATABASE%_data.mdf',
    MOVE 'BossCompany_Bank_log' TO '%PATHDATA2%\%DATABASE%_log.ldf',
    REPLACE

