How can i Import my Registry file through Dos commands.

I have a backup of Exported Registry file.
I am using Windows Xp. I have some problem with this so i cannot able to logon to the system.

How to import and to which location should i post it.

Is Registry.exe will take care.(c:\windows\regedit.exe)?