SQL server doesn't care much where you put stuff, only that the path exist
so you could also use good old dos command SUBST e.g.:
Create a folder c:\temp\data whith the correct ntfs permissions
SUBST g: c:\tempStart SQL server Service
Start SSMS
move tempdb to somewhere safe
etc.
when finished:
SUBST g: /d
Rob.