How to change the path of data during database restore + SQL Server 2008
You can redirect the data files using the move command

USE [master]
RESTORE DATABASE [{DBName}] 
FROM  DISK = N'{PathToBakFile}' 
WITH  FILE = 1,  
MOVE N'{DataFileLogicalName}' 
    TO N'{NewPath}',  
MOVE N'{LogFileLogicalName}' 
    TO N'{NewPath}'
GO