Oracle restore to a differnet drive
run
{
  set newname for database to 'C:\app\administrator\oradata\DB\%U';
  restore database;
}
switch database to copy;


This will generate filenames in the specified directory. If you want nice looking names following your naming convention, specify them manually, example:

run
{
  set newname for datafile 1 to 'C:\app\administrator\oradata\DB\system01.dbf';
  set newname for datafile 2 to 'C:\app\administrator\oradata\DB\sysaux01.dbf';  
  ..
  restore database;
}
switch database to copy;


SET