I was trying to find the script I found several months ago on how to restore a backup composed of several BAK files. To me it looks like this is the question posed by the OP. I do not that the answer provided above answers that question. Sure didn't help me.
Now, this is an old thread, but someone may stumble across this while trying to figure it out like I did. I was lucky in that I was using SQL Server 2014, and was able to use the GUI to do the restore, and which then generated the script it used after completion. Otherwise it would have taken several more hours to find this.
USE [master]
RESTORE DATABASE [ABC]
FROM DISK = N'C:\_D\DB_Backups\ABC1_20170731.bak',
DISK = N'C:\_D\DB_Backups\ABC2_20170731.bak',
DISK = N'C:\_D\DB_Backups\ABC3_20170731.bak',
DISK = N'C:\_D\DB_Backups\ABC4_20170731.bak',
DISK = N'C:\_D\DB_Backups\ABC5_20170731.bak'
WITH FILE = 1,
MOVE N'ABC_Data' TO N'C:\Program Files\Microsoft SQL Server\MSSQL12.[instancename]\MSSQL\DATA\ABC.MDF',
MOVE N'ABC_Log' TO N'C:\Program Files\Microsoft SQL Server\MSSQL12.[instancename]\MSSQL\DATA\ABC.LDF',
NOUNLOAD,
STATS = 5
GO