When creating a move template for a restore in the GUI client, it is able to quickly generate a listing of the SQL Server logical and physical filenames for you to change:
MOVE "DBNAME"
#TO "d:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSE...